lib/rubocop/cop/minitest/refute_equal.rb in rubocop-minitest-0.29.0 vs lib/rubocop/cop/minitest/refute_equal.rb in rubocop-minitest-0.30.0

- old
+ new

@@ -34,10 +34,10 @@ add_offense(node, message: message) do |corrector| corrector.replace(node.loc.selector, 'refute_equal') replacement = [expected, actual].map(&:source).join(', ') - corrector.replace(first_argument_range(node), replacement) + corrector.replace(node.first_argument, replacement) end end end private