Liking cljdoc? Tell your friends :D

nedap.utils.test.matchers


Gensymclj/s

source

gensymclj/s

(gensym)
(gensym prefix-string)

Matcher that will match when given symbol matches the expected after the tailing numbers are stripped.

If prefix is not supplied, the prefix is 'G__'

Matcher that will match when given symbol matches the `expected` after the tailing numbers are stripped.

If prefix is not supplied, the prefix is 'G__'
sourceraw docstring

in-any-orderclj/s≠

clj
(in-any-order expected & {:keys [timeout] :or {timeout 5000}})

Matcher that will match when the given a list that is the same as the expected list but with elements in a different order.

cancels evaluation when :timeout is reached (default 5000ms).

drop-in replacement for #'matcher-combinators.matchers/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.

cancels evaluation when `:timeout` is reached (default 5000ms).

drop-in replacement for #'matcher-combinators.matchers/in-any-order
cljs
(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).

equal to #'matcher-combinators.matchers/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)`.

equal to #'matcher-combinators.matchers/in-any-order
source (clj)source (cljs)raw docstring

InAnyOrderclj

source

matches?clj/s

(matches? this actual)

returns true if actual matches this. false otherwise

returns true if `actual` matches `this`. false otherwise
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close