Skip to content

Commit b22f8c1

Browse files
author
dnolen
committed
fix cljs.spec.test/run-tests
1 parent 12d3ab3 commit b22f8c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/cljs/cljs/spec.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
(speced-vars* nil))
278278
([ns-syms]
279279
(let [ns-match? (if (seq ns-syms)
280-
(set ns-syms)
280+
(set (map second ns-syms))
281281
(constantly true))]
282282
(reduce
283283
(fn [ret sym]

src/main/cljs/cljs/spec/test.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
([& ns-syms]
2121
`(cljs.spec.test/run-var-tests
2222
(->> ~(spec/speced-vars* ns-syms)
23-
(filter (fn [v] (:args (cljs.spec/fn-specs v))))))))
23+
(filter (fn [v#] (:args (cljs.spec/fn-specs v#))))))))
2424

2525
(defmacro run-all-tests
2626
"Like clojure.test/run-all-tests, but runs test.check tests

0 commit comments

Comments
 (0)