1.2.0 permalink Arrow_down_16x16

report-problem

clojure.contrib.mock

  • (report-problem function expected actual)
  • (report-problem function expected actual message)

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/contrib/mock.clj:64 top

(defn report-problem
  {:dynamic true}
  ([function expected actual]
    (report-problem function expected actual "Expectation not met."))
  ([function expected actual message]
    (prn (str message " Function name: " function
           " expected: " expected " actual: " actual))))
Vars in clojure.contrib.mock/report-problem: defn prn str
Used in 0 other vars

Comments top

No comments for report-problem. Log in to add a comment.