Skip to content

Commit afcbae8

Browse files
mfikesdnolen
authored and
dnolen
committed
CLJS-1735: Self-host: cljs.spec speced-vars instance
1 parent 5b34a6d commit afcbae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ invokes the fn you provide, enabling arbitrary stubbing and mocking.
102102
103103
Returns a collection of syms naming the vars instrumented."
104104
([]
105-
`(instrument '[~@(s/speced-vars)]))
105+
`(instrument '[~@(#?(:clj s/speced-vars
106+
:cljs cljs.spec$macros/speced-vars))]))
106107
([xs]
107108
`(instrument ~xs nil))
108109
([sym-or-syms opts]

0 commit comments

Comments
 (0)