with-test-out

clojure.test

  • (with-test-out & body)
Runs body with *out* bound to the value of *test-out*.

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 clojure/test.clj:272 top

(defmacro with-test-out
  "Runs body with *out* bound to the value of *test-out*."
  {:added "1.1"}
  [& body]
  `(binding [*out* *test-out*]
     ~@body))
Vars in clojure.test/with-test-out:
Used in 0 other vars

Comments top

No comments for with-test-out. Log in to add a comment.