fix tests for cljs
This commit is contained in:
parent
c52f7671a7
commit
a46ff5e8d9
1 changed files with 7 additions and 6 deletions
|
|
@ -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)))
|
||||
)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue