Skip to content
Browse files

Added missing calls to format in the report-test function.

  • Loading branch information...
1 parent f177261 commit 07ad806e2177a6f75168b41602a7ad3ae7e85a42 @timclemons committed Jan 27, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/main/clojure/zi/test.clj
View
10 src/main/clojure/zi/test.clj
@@ -22,11 +22,13 @@
[result]
(case (:type result)
:fail (log/error
- "FAIL %s expected: %s actual: %s"
- (:message result "") (:expected result) (:actual result))
+ (format
+ "FAIL %s expected: %s actual: %s"
+ (:message result "") (:expected result) (:actual result)))
:error (log/error
- "%s expected: %s actual: %s"
- (:message result "") (:expected result) (:actual result))))
+ (format
+ "%s expected: %s actual: %s"
+ (:message result "") (:expected result) (:actual result)))))
(defn run-tests
[classpath-elements test-source-directory init-script]

0 comments on commit 07ad806

Please sign in to comment.
Something went wrong with that request. Please try again.