(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.
(-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)Do not call directly. Implementation for matcher-combinators.matchers/matcher-for.
Do not call directly. Implementation for matcher-combinators.matchers/matcher-for.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |