Skip to content

Commit fbfd541

Browse files
plexusalysbrooks
authored andcommitted
Post-rebase fixups
1 parent 356d22c commit fbfd541

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/kaocha/testable.clj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
(assoc testable ::load-error t)
124124
(throw t)))))
125125

126-
(s/fdef load
127-
:args (s/cat :testable :kaocha/testable)
126+
(spec/fdef load
127+
:args (spec/cat :testable :kaocha/testable)
128128
:ret :kaocha.test-plan/testable)
129129

130130
(defmulti -run
@@ -267,8 +267,8 @@
267267

268268
(defn current-thread-info []
269269
(let [thread (Thread/currentThread)]
270-
{:name (.getName thread)
271-
:id (.getId thread)
270+
{:name (.getName thread)
271+
:id (.getId thread)
272272
:group-name (.getName (.getThreadGroup thread))}))
273273

274274
(defn run-testables-parallel
@@ -277,7 +277,7 @@
277277
(doall testables)
278278
(let [load-error? (some ::load-error testables)
279279
types (set (:parallel-children-exclude *config*))
280-
suites (:parallel-suites-exclude *config*)
280+
suites (:parallel-suites-exclude *config*)
281281
futures (map #(do
282282
(future
283283
(binding [*config*

test/unit/kaocha/config_test.clj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
(deftest merge-ns-patterns-issue-124-test
6868
(testing "https://github.com/lambdaisland/kaocha/issues/124"
69-
(is (= #:kaocha{:early-exit 250}
69+
(is (= #:kaocha{:early-exit 252}
7070
(try+
7171
(config/merge-config {:kaocha/ns-patterns "test"} {:kaocha/ns-patterns "test"})
7272
(catch :kaocha/early-exit e
@@ -158,11 +158,11 @@
158158
:kaocha/plugins (m/embeds [:some.kaocha.plugin/qux :other.kaocha.plugin/bar])}
159159
(config/load-config-for-cli-and-validate (io/resource "kaocha/config/loaded-test-resource.edn") {}))))
160160
(testing "falls back to default when resource does not exist"
161-
(is (match?
162-
;; Deliberately minimal case because we want to test this behavior
163-
;; (fallback to tests.edn) without tying too much to tests.edn
164-
{:kaocha.hooks/pre-load ['kaocha.assertions/load-assertions] }
165-
(config/load-config-for-cli-and-validate (io/resource "resource-that-does-not-exist.edn") {})))))
161+
(is (match?
162+
;; Deliberately minimal case because we want to test this behavior
163+
;; (fallback to tests.edn) without tying too much to tests.edn
164+
{:kaocha.hooks/pre-load ['kaocha.assertions/load-assertions] }
165+
(config/load-config-for-cli-and-validate (io/resource "resource-that-does-not-exist.edn") {})))))
166166
(testing "loading a file with profiles"
167167
(testing "specifying a profile"
168168
(is (match? {:kaocha/reporter 'kaocha.report.progress/report}

0 commit comments

Comments
 (0)