Skip to content

Commit 8484934

Browse files
committed
Clean up.
1 parent 691b671 commit 8484934

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/kaocha/testable.clj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,14 @@
290290
(doall testables)
291291
(let [load-error? (some ::load-error testables)
292292
types (set (:parallel-children-exclude *config*))
293-
futures (doall (map #(do
294-
(future
295-
(binding [*config*
296-
(cond-> *config*
297-
(contains? types (:kaocha.testable/type %)) (dissoc :parallel)
298-
true (update :levels (fn [x] (if (nil? x) 1 (inc x))))) ]
299-
(run-testable % test-plan))))
300-
testables))]
293+
futures (map #(do
294+
(future
295+
(binding [*config*
296+
(cond-> *config*
297+
(contains? types (:kaocha.testable/type %)) (dissoc :parallel)
298+
true (update :levels (fn [x] (if (nil? x) 1 (inc x))))) ]
299+
(run-testable % test-plan))))
300+
testables)]
301301
(comment (loop [result [] ;(ArrayBlockingQueue. 1024)
302302
[test & testables] testables]
303303
(if test

0 commit comments

Comments
 (0)