• (expect & body)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/contrib_mocking.clj:20 top

(defmacro expect [& body]
  "Use this macro instead of the standard c.c.mock expect macro to have
failures reported through clojure.test."
  `(binding [mock/report-problem report-problem]
     (mock/expect ~@body)))
Vars in circumspec.contrib-mocking/expect: defmacro apply binding concat list seq vector
Used in 0 other vars

Comments top

No comments for expect. Log in to add a comment.