lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.29.0 vs lib/rubocop/cop/minitest/refute_false.rb in rubocop-minitest-0.30.0
- old
+ new
@@ -64,10 +64,10 @@
corrector.replace(node.loc.selector, 'refute')
if node.method?(:assert_equal)
corrector.replace(first_and_second_arguments_range(node), actual.source)
else
- corrector.replace(first_argument_range(node), actual.source)
+ corrector.replace(node.first_argument, actual.source)
end
end
end
end
end