Liking cljdoc? Tell your friends :D

mockfn.matchers


aclj/s

source

Aclj/s

source

anyclj/s

source

Anyclj/s

source

any-args?clj/s

A special directive that always matches regardless of the number or form of arguments provided. Useful as a terminal fall-through case when mocking.

For example: (providing [(inc any-args?) :placeholder-inc-result] (inc 1) ;=> :placeholder-inc-result (inc 1 2 3 4) ;=> :placeholder-inc-result)

A special directive that always matches regardless of the number or form of
arguments provided. Useful as a terminal fall-through case when mocking.

For example:
(providing [(inc any-args?) :placeholder-inc-result]
  (inc 1) ;=> :placeholder-inc-result
  (inc 1 2 3 4) ;=> :placeholder-inc-result)
sourceraw docstring

at-leastclj/s

source

at-mostclj/s

source

AtLeastclj/s

source

AtMostclj/s

source

Exactlyclj/s

source

exactlyclj/s

source

Matcherclj/sprotocol

descriptionclj/s

(description this)

matches?clj/s

(matches? this actual)
source

predclj/s

source

Predicateclj/s

source

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

× close