lib/rubocop/cop/minitest/refute_equal.rb in rubocop-minitest-0.3.0 vs lib/rubocop/cop/minitest/refute_equal.rb in rubocop-minitest-0.4.0
- old
+ new
@@ -2,10 +2,10 @@
module RuboCop
module Cop
module Minitest
# This cop enforces the use of `refute_equal(expected, object)`
- # over `assert_equal(expected != actual)` or `assert(! expected -= actual)`.
+ # over `assert_equal(expected != actual)` or `assert(! expected == actual)`.
#
# @example
# # bad
# assert("rubocop-minitest" != actual)
# assert(! "rubocop-minitest" == actual)