make satisfies-protpath test clojure only

This commit is contained in:
nathanmarz 2017-04-03 14:03:10 -04:00
parent c3164d722d
commit c52f7671a7

View file

@ -1514,10 +1514,11 @@
(is (= [10] (foo 10)))
))
(defprotocolpath FooPP)
(extend-protocolpath FooPP String s/STAY)
#?(:clj
(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)))
))