lib/rubocop/cop/minitest/refute_in_delta.rb in rubocop-minitest-0.10.3 vs lib/rubocop/cop/minitest/refute_in_delta.rb in rubocop-minitest-0.11.0
- old
+ new
@@ -16,9 +16,11 @@
# refute_in_delta(0.2, actual, 0.001, 'message')
#
class RefuteInDelta < Cop
include InDeltaMixin
+ RESTRICT_ON_SEND = %i[refute_equal].freeze
+
def_node_matcher :equal_floats_call, <<~PATTERN
(send nil? :refute_equal $_ $_ $...)
PATTERN
end
end