Skip to content

Commit d9f3f83

Browse files
hlshipstuarthalloway
authored andcommitted
Modify clojure.test.junit/with-junit-output to support multiple forms
Fixes CLJ-1485 Signed-off-by: Stuart Halloway <[email protected]>
1 parent 1bfdebf commit d9f3f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/clojure/test/junit.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,6 @@
190190
(t/with-test-out
191191
(println "<?xml version=\"1.0\" encoding=\"UTF-8\"?>")
192192
(println "<testsuites>"))
193-
(let [result# ~@body]
193+
(let [result# (do ~@body)]
194194
(t/with-test-out (println "</testsuites>"))
195195
result#)))

0 commit comments

Comments
 (0)