lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.17.2 vs lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.18.0
- old
+ new
@@ -20,11 +20,11 @@
#
class RefuteFalse < Base
include ArgumentRangeHelper
extend AutoCorrector
- MSG_FOR_ASSERT_EQUAL = 'Prefer using `refute(%<arguments>s)` over `assert_equal(false, %<arguments>s)`.'
- MSG_FOR_ASSERT = 'Prefer using `refute(%<arguments>s)` over `assert(!%<arguments>s)`.'
+ MSG_FOR_ASSERT_EQUAL = 'Prefer using `refute(%<arguments>s)`.'
+ MSG_FOR_ASSERT = 'Prefer using `refute(%<arguments>s)`.'
RESTRICT_ON_SEND = %i[assert_equal assert].freeze
def_node_matcher :assert_equal_with_false, <<~PATTERN
(send nil? :assert_equal false $_ $...)
PATTERN