lib/rubocop/cop/minitest/assert_empty_literal.rb in rubocop-minitest-0.17.2 vs lib/rubocop/cop/minitest/assert_empty_literal.rb in rubocop-minitest-0.18.0
- old
+ new
@@ -16,11 +16,10 @@
#
class AssertEmptyLiteral < Base
include ArgumentRangeHelper
extend AutoCorrector
- MSG = 'Prefer using `assert_empty(%<arguments>s)` over ' \
- '`assert_equal(%<literal>s, %<arguments>s)`.'
+ MSG = 'Prefer using `assert_empty(%<arguments>s)`.'
RESTRICT_ON_SEND = %i[assert_equal].freeze
def_node_matcher :assert_equal_with_empty_literal, <<~PATTERN
(send nil? :assert_equal ${hash array} $...)
PATTERN