Core ideas underlying all checking
Core ideas underlying all checking
(data-laden-falsehood-to-map value)
Used for testing Midje itself, this prevents a Midje example of the expected creation of a data-laden falsehood from being interpreted as a failure.
Used for testing Midje itself, this prevents a Midje example of the expected creation of a data-laden falsehood from being interpreted as a failure.
(detailed-extended-= actual expected)
Equality check that can handle checker functions and compare arguments of different types. Returns a tuple containing the boolean result and a failure detail map
Equality check that can handle checker functions and compare arguments of different types. Returns a tuple containing the boolean result and a failure detail map
(evaluate-checking-function function actual)
Returns a sequence. The first value is either truthy or falsey. If falsey, the second value is a map with any additional information. (It may be empty.) If the result is an exception, the second value contains it under the :thrown key.
Returns a sequence. The first value is either truthy or falsey. If falsey, the second value is a map with any additional information. (It may be empty.) If the result is an exception, the second value contains it under the :thrown key.
(extended-list-= actual-args checkers)
Element-by-element comparison, using extended-= for the right-hand-side values.
Element-by-element comparison, using extended-= for the right-hand-side values.
(inherently-false-map-to-record-comparison-note actual expected)
(inherently-false-map-to-record-comparison? actual expected)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close