Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
alysbrooks committed Oct 19, 2021
1 parent 691b671 commit 8484934
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/kaocha/testable.clj
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,14 @@
(doall testables)
(let [load-error? (some ::load-error testables)
types (set (:parallel-children-exclude *config*))
futures (doall (map #(do
(future
(binding [*config*
(cond-> *config*
(contains? types (:kaocha.testable/type %)) (dissoc :parallel)
true (update :levels (fn [x] (if (nil? x) 1 (inc x))))) ]
(run-testable % test-plan))))
testables))]
futures (map #(do
(future
(binding [*config*
(cond-> *config*
(contains? types (:kaocha.testable/type %)) (dissoc :parallel)
true (update :levels (fn [x] (if (nil? x) 1 (inc x))))) ]
(run-testable % test-plan))))
testables)]
(comment (loop [result [] ;(ArrayBlockingQueue. 1024)
[test & testables] testables]
(if test
Expand Down

0 comments on commit 8484934

Please sign in to comment.