From c52f7671a71d7193928f3831c134e4a349a5e21c Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Mon, 3 Apr 2017 14:03:10 -0400 Subject: [PATCH] make satisfies-protpath test clojure only --- test/com/rpl/specter/core_test.cljc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/com/rpl/specter/core_test.cljc b/test/com/rpl/specter/core_test.cljc index 89e3b8f..eb4fe1d 100644 --- a/test/com/rpl/specter/core_test.cljc +++ b/test/com/rpl/specter/core_test.cljc @@ -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))) + ))