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)))
|
||||
))
|
||||
|
||||
(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)))
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue