Skip to content

Commit c4dafbf

Browse files
jszakmeisterstuarthalloway
authored andcommitted
tap: add missing paramater to testing-vars-str
Signed-off-by: Stuart Halloway <[email protected]>
1 parent 47aba96 commit c4dafbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clj/clojure/test/tap.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
(defmethod tap-report :pass [data]
7979
(t/with-test-out
8080
(t/inc-report-counter :pass)
81-
(print-tap-pass (t/testing-vars-str))
81+
(print-tap-pass (t/testing-vars-str data))
8282
(when (seq t/*testing-contexts*)
8383
(print-tap-diagnostic (t/testing-contexts-str)))
8484
(when (:message data)
@@ -89,7 +89,7 @@
8989
(defmethod tap-report :error [data]
9090
(t/with-test-out
9191
(t/inc-report-counter :error)
92-
(print-tap-fail (t/testing-vars-str))
92+
(print-tap-fail (t/testing-vars-str data))
9393
(when (seq t/*testing-contexts*)
9494
(print-tap-diagnostic (t/testing-contexts-str)))
9595
(when (:message data)

0 commit comments

Comments
 (0)