shard-spectator/src/spectator/dsl/matcher_dsl.cr

10 lines
193 B
Crystal
Raw Normal View History

require "../matchers"
module Spectator::DSL
module MatcherDSL
macro eq(expected)
::Spectator::Matchers::EqualityMatcher.new({{expected.stringify}}, {{expected}})
end
end
end