(a expected)
Returns a matcher that expects an instance of the provided class.
Returns a matcher that expects an instance of the provided class.
(any)
Returns a matcher that expects any value.
Returns a matcher that expects any value.
(at-least expected)
Returns a matcher that expects a value greater than or equal to the argument.
Returns a matcher that expects a value greater than or equal to the argument.
(at-most expected)
Returns a matcher that expects a value less than or equal to the argument.
Returns a matcher that expects a value less than or equal to the argument.
(description matcher)
Describes a matcher by returning it's name and expectations.
Describes a matcher by returning it's name and expectations.
(exactly expected)
Returns a matcher that expects an exact value.
Returns a matcher that expects an exact value.
(make name function expected)
(make name function expected description-fn)
Produces a new matcher instance.
Produces a new matcher instance.
(matches? matcher actual)
Returns whether the matcher accepts the actual value.
Returns whether the matcher accepts the actual value.
(str-ends-with expected)
Returns a matcher that expects a string ending with the provided substring.
Returns a matcher that expects a string ending with the provided substring.
(str-includes expected)
Returns a matcher that expects a string containing the provided substring.
Returns a matcher that expects a string containing the provided substring.
(str-rexp expected)
Returns a matcher that expects a string matching the provided regular expression.
Returns a matcher that expects a string matching the provided regular expression.
(str-starts-with expected)
Returns a matcher that expects a string starting with the provided substring.
Returns a matcher that expects a string starting with the provided substring.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close