Fix macro

This commit is contained in:
Michael Miller 2019-08-01 14:46:13 -06:00
parent 45e9fa186f
commit ba1c37b142

View file

@ -26,7 +26,7 @@ module Spectator::Matchers
# which causes compilation to fail. # which causes compilation to fail.
# If the matcher supports negation, it must override this method. # If the matcher supports negation, it must override this method.
def failure_message_when_negated : String def failure_message_when_negated : String
{% raise "Negation with #{@type.name} is not supported."} {% raise "Negation with #{@type.name} is not supported." %}
end end
# Checks whether the matcher is satisifed. # Checks whether the matcher is satisifed.