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}]}])))
|
||||
)
|
||||
|
||||
#?(:clj
|
||||
(deftest class-constant-test
|
||||
(let [f (fn [p] (fn [v] (str p (inc v))))]
|
||||
(is (= (str String 2) (multi-transform (s/terminal (f String)) 1)))
|
||||
)))
|
||||
(deftest class-constant-test
|
||||
(let [f (fn [p] (fn [v] (str p (inc v))))]
|
||||
(is (= (str #?(:clj String :cljs js/String) 2)
|
||||
(multi-transform (s/terminal (f #?(:clj String :cljs js/String))) 1)))
|
||||
))
|
||||
|
||||
#?(:clj
|
||||
(do
|
||||
|
|
|
|||
Loading…
Reference in a new issue