fix tests for cljs

This commit is contained in:
nathanmarz 2017-04-03 14:11:23 -04:00
parent c52f7671a7
commit a46ff5e8d9

View file

@ -1515,10 +1515,11 @@
))
#?(:clj
(defprotocolpath FooPP)
(extend-protocolpath FooPP String s/STAY)
(do
(defprotocolpath FooPP)
(extend-protocolpath FooPP String s/STAY)
(deftest satisfies-protpath-test
(is (satisfies-protpath? FooPP "a"))
(is (not (satisfies-protpath? FooPP 1)))
))
(deftest satisfies-protpath-test
(is (satisfies-protpath? FooPP "a"))
(is (not (satisfies-protpath? FooPP 1)))
)))