lib/suggest.rb in suggest_rb-0.5.0 vs lib/suggest.rb in suggest_rb-0.5.1

- old
+ new

@@ -65,10 +65,10 @@ result = post.__send__(allow_not_public ? :send : :public_send, m.name, *args, &block) rescue next next unless allow_mutation || self == post if expected.is_a?(Proc) && expected.lambda? - expected.call(result) + expected.call(result) rescue false else Suggest.eq?(result, expected) end end.map(&:name) end