lib/matchi/matchers/be_false.rb in matchi-1.0.6 vs lib/matchi/matchers/be_false.rb in matchi-1.0.7

- old
+ new

@@ -19,10 +19,10 @@ # # @yieldreturn [#object_id] The actual value to compare to the expected # one. # # @return [Boolean] Comparison between actual and expected values. - def matches?(**) + def matches?(*, **) false.equal?(yield) end end end end