You're viewing version 1.2.0 of error-el. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16
  • (error-el message expected actual)

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/junit.clj:132 top

(defn error-el
  [message expected actual]
  (message-el 'error
              (pr-str expected)
              (if (instance? Throwable actual)
                (with-out-str (stack/print-cause-trace actual t/*stack-trace-depth*))
                (prn actual))))
Vars in clojure.test.junit/error-el: defn instance? pr-str prn with-out-str
Used in 0 other vars

Comments top

No comments for error-el. Log in to add a comment.