Skip to content

Commit c3abff8

Browse files
stuarthallowayrichhickey
authored andcommitted
fix test reporting
Signed-off-by: Rich Hickey <richhickey@gmail.com>
1 parent 2ecf6c6 commit c3abff8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/clj/clojure/spec/test.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
(assoc ret :result explain)
3030
ret)]
3131
(if-let [shrunk-explain (-> ret :shrunk :result ex-data ::check-call)]
32-
(assoc-in ret [:shrunk :result] shrunk-explain))))
32+
(assoc-in ret [:shrunk :result] shrunk-explain)
33+
ret)))
3334

3435
(defn- check-call
3536
"Returns true if call passes specs, otherwise *returns* an exception

0 commit comments

Comments
 (0)