make satisfies-protpath test clojure only
This commit is contained in:
parent
c3164d722d
commit
c52f7671a7
1 changed files with 7 additions and 6 deletions
|
|
@ -1514,10 +1514,11 @@
|
||||||
(is (= [10] (foo 10)))
|
(is (= [10] (foo 10)))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
#?(:clj
|
||||||
(defprotocolpath FooPP)
|
(defprotocolpath FooPP)
|
||||||
(extend-protocolpath FooPP String s/STAY)
|
(extend-protocolpath FooPP String s/STAY)
|
||||||
|
|
||||||
(deftest satisfies-protpath-test
|
(deftest satisfies-protpath-test
|
||||||
(is (satisfies-protpath? FooPP "a"))
|
(is (satisfies-protpath? FooPP "a"))
|
||||||
(is (not (satisfies-protpath? FooPP 1)))
|
(is (not (satisfies-protpath? FooPP 1)))
|
||||||
)
|
))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue