(embeds expected)
Matcher that will match when the map contains some of the same key/values as
the expected
map.
Matcher that will match when the map contains some of the same key/values as the `expected` map.
(equals expected)
Matcher that will match when the given value is exactly the same as the
expected
.
Matcher that will match when the given value is exactly the same as the `expected`.
(in-any-order expected)
Matcher that will match when the given a list that is the same as the
expected
list but with elements in a different order.
Similar to Midje's (just expected :in-any-order)
Matcher that will match when the given a list that is the same as the `expected` list but with elements in a different order. Similar to Midje's `(just expected :in-any-order)`
(prefix expected)
Matcher that will match when provided a (ordered) prefix of the expected
list.
Similar to Midje's (embeds expected)
Matcher that will match when provided a (ordered) prefix of the `expected` list. Similar to Midje's `(embeds expected)`
(regex expected)
Matcher that will match when given value matches the expected
regular expression.
Matcher that will match when given value matches the `expected` regular expression.
(set-embeds expected)
Matches a set in the way (embeds some-set)
would, but accepts sequences
as the expected matcher argument, allowing one to use matchers with the same
submatcher appearing more than once.
Matches a set in the way `(embeds some-set)` would, but accepts sequences as the expected matcher argument, allowing one to use matchers with the same submatcher appearing more than once.
(set-equals expected)
Matches a set in the way (equals some-set)
would, but accepts sequences as
the expected matcher argument, allowing one to use matchers with the same
submatcher appearing more than once.
Matches a set in the way `(equals some-set)` would, but accepts sequences as the expected matcher argument, allowing one to use matchers with the same submatcher appearing more than once.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close