lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.6.2 vs lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.7.0
- old
+ new
@@ -7,17 +7,17 @@
# over `assert_equal(false, object)`.
#
# @example
# # bad
# assert_equal(false, actual)
- # assert_equal(false, actual, 'the message')
+ # assert_equal(false, actual, 'message')
#
# assert(!test)
- # assert(!test, 'the message')
+ # assert(!test, 'message')
#
# # good
# refute(actual)
- # refute(actual, 'the message')
+ # refute(actual, 'message')
#
class RefuteFalse < Cop
include ArgumentRangeHelper
MSG_FOR_ASSERT_EQUAL = 'Prefer using `refute(%<arguments>s)` over ' \