From a46ff5e8d98f2ba92dd31ba3fabd04a575a38d4e Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Mon, 3 Apr 2017 14:11:23 -0400 Subject: [PATCH] fix tests for cljs --- 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 eb4fe1d..023a4b7 100644 --- a/test/com/rpl/specter/core_test.cljc +++ b/test/com/rpl/specter/core_test.cljc @@ -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))) + )))