Missing doc

This commit is contained in:
Michael Miller 2019-03-30 16:09:58 -06:00
parent 2ea69d2355
commit 785f2ef2dd

View file

@ -1,6 +1,8 @@
require "./value_matcher" require "./value_matcher"
module Spectator::Matchers module Spectator::Matchers
# Matcher for checking that the contents of one array (or similar type)
# has the exact same contents as another and in the same order.
struct ArrayMatcher(ExpectedType) < ValueMatcher(ExpectedType) struct ArrayMatcher(ExpectedType) < ValueMatcher(ExpectedType)
# Determines whether the matcher is satisfied with the partial given to it. # Determines whether the matcher is satisfied with the partial given to it.
# `MatchData` is returned that contains information about the match. # `MatchData` is returned that contains information about the match.