lib/rubocop/cop/minitest/refute_nil.rb in rubocop-minitest-0.6.2 vs lib/rubocop/cop/minitest/refute_nil.rb in rubocop-minitest-0.7.0
- old
+ new
@@ -7,14 +7,14 @@
# instead of using `refute_equal(nil, something)`.
#
# @example
# # bad
# refute_equal(nil, actual)
- # refute_equal(nil, actual, 'the message')
+ # refute_equal(nil, actual, 'message')
#
# # good
# refute_nil(actual)
- # refute_nil(actual, 'the message')
+ # refute_nil(actual, 'message')
#
class RefuteNil < Cop
include ArgumentRangeHelper
MSG = 'Prefer using `refute_nil(%<arguments>s)` over ' \