Liking cljdoc? Tell your friends :D

fulcro-spec.assertions


assert-exprclj/s

(assert-expr msg [disp-key & form])
source

block->assertsclj

(block->asserts cljs? {:keys [behavior triples]})
source

eq-assert-exprclj/s

(eq-assert-expr msg [exp act :as form])
source

fn-assert-exprclj/s

(fn-assert-expr msg [f arg :as form])
source

parse-assertionsclj/s

(parse-assertions forms)

Parses assertion forms in a single linear pass, replacing the spec-based conformance that suffers from backtracking. Returns a vector of blocks, each a map with optional :behavior string and :triples vector.

A string is a behavior label when the next form is NOT an arrow (meaning the string cannot be the :actual of a triple). Otherwise the string is the :actual of the next triple.

Parses assertion `forms` in a single linear pass, replacing the spec-based
conformance that suffers from backtracking. Returns a vector of blocks, each
a map with optional `:behavior` string and `:triples` vector.

A string is a behavior label when the next form is NOT an arrow (meaning the
string cannot be the :actual of a triple). Otherwise the string is the :actual
of the next triple.
sourceraw docstring

triple->assertionclj

(triple->assertion cljs? {:keys [actual arrow expected]})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close