Fix method name matches? -> match?

This commit is contained in:
Michael Miller 2019-08-09 11:20:41 -06:00
parent 5a1dea8f72
commit 0dfde61807

View file

@ -29,7 +29,7 @@ module Spectator::Matchers
# then this method should be overriden.
# Remember to override `#failure_message_when_negated` as well.
private def does_not_match?(actual) : Bool
!matches?(actual)
!match?(actual)
end
private def values(actual)