update class-constant-test for cljs
This commit is contained in:
parent
350c8b857f
commit
3536e3c461
1 changed files with 5 additions and 5 deletions
|
|
@ -1679,11 +1679,11 @@
|
||||||
{:a [{:b 2 :c 1}]}])))
|
{:a [{:b 2 :c 1}]}])))
|
||||||
)
|
)
|
||||||
|
|
||||||
#?(:clj
|
(deftest class-constant-test
|
||||||
(deftest class-constant-test
|
(let [f (fn [p] (fn [v] (str p (inc v))))]
|
||||||
(let [f (fn [p] (fn [v] (str p (inc v))))]
|
(is (= (str #?(:clj String :cljs js/String) 2)
|
||||||
(is (= (str String 2) (multi-transform (s/terminal (f String)) 1)))
|
(multi-transform (s/terminal (f #?(:clj String :cljs js/String))) 1)))
|
||||||
)))
|
))
|
||||||
|
|
||||||
#?(:clj
|
#?(:clj
|
||||||
(do
|
(do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue