update class-constant-test for cljs

This commit is contained in:
nathanmarz 2018-06-12 10:48:56 -04:00
parent 350c8b857f
commit 3536e3c461

View file

@ -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