• (message-el tag message expected-str actual-str)

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:113 top

(defn message-el
  [tag message expected-str actual-str]
  (start-element tag false (if message {:message message} {}))
   (let [[file line] (t/file-position 5)
         detail (apply str (interpose
                            [(str "expected: " expected-str)
                             (str "  actual: " actual-str)
                             (str "      at: " file ":" line)]))]
     (if message (str message "\n" detail) detail)))
  (finish-element tag false)
Vars in clojure.test.junit/message-el:
Used in 0 other vars

Comments top

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