lib/rubocop/cop/minitest/refute_nil.rb in rubocop-minitest-0.10.3 vs lib/rubocop/cop/minitest/refute_nil.rb in rubocop-minitest-0.11.0

- old
+ new

@@ -18,9 +18,10 @@ class RefuteNil < Cop include ArgumentRangeHelper MSG = 'Prefer using `refute_nil(%<arguments>s)` over ' \ '`refute_equal(nil, %<arguments>s)`.' + RESTRICT_ON_SEND = %i[refute_equal].freeze def_node_matcher :refute_equal_with_nil, <<~PATTERN (send nil? :refute_equal nil $_ $...) PATTERN