(indicates-match? match-result)
Returns true if match-result (the map returned by (match expected actual)
) indicates a match.
Returns true if match-result (the map returned by `(match expected actual)`) indicates a match.
(match expected actual)
For internal use. Returns a map indicating whether the actual
value matches expected
.
expected
can be the expected value, a matcher, or a predicate fn of actual.
Return map includes the following keys:
For internal use. Returns a map indicating whether the `actual` value matches `expected`. `expected` can be the expected value, a matcher, or a predicate fn of actual. Return map includes the following keys: - :matcher-combinators.result/type - either :match or :mismatch - :matcher-combinators.result/value - the actual value with mismatch annotations. Only present when :match/result is :mismatch
(match? match-result)
DEPRECATED! Use indicates-match?
instead.
DEPRECATED! Use `indicates-match?` instead.
For internal use. Type-specific implementations for finding matchers for expected values and matching them against expected values.
For internal use. Type-specific implementations for finding matchers for expected values and matching them against expected values.
(-base-name this)
The name of the matcher as a symbol
The name of the matcher as a symbol
(-match this actual)
Do not call directly. Implementation for matcher-combinators.core/match.
Do not call directly. Implementation for matcher-combinators.core/match.
(-matcher-for expected)
(-matcher-for expected t->m)
Do not call directly. Implementation for matcher-combinators.matchers/matcher-for.
Do not call directly. Implementation for matcher-combinators.matchers/matcher-for.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close