From 8c7959015c7401e1db8c87f95ba618822132d9b9 Mon Sep 17 00:00:00 2001 From: Camilo Roca Date: Sun, 16 Aug 2020 23:18:20 +0200 Subject: [PATCH] try with reader conditionals --- test/parcera/macros.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parcera/macros.cljc b/test/parcera/macros.cljc index acbd65b..c588bfa 100644 --- a/test/parcera/macros.cljc +++ b/test/parcera/macros.cljc @@ -2,12 +2,14 @@ "Some of our tests use `slurp`, which ClojureScript lacks" #?(:clj (:refer-clojure :exclude [slurp])) #?(:cljs (:require-macros [parcera.macros])) - (:require [clojure.test :refer [is]] + (:require #?(:clj [clojure.test :refer [is]] + :cljs [cljs.test :refer [is]]) [parcera.core :as parcera])) #?(:clj (defmacro slurp* [file] (clojure.core/slurp file))) + #?(:clj (defmacro roundtrip "checks parcera can parse and write back the exact same input code" [input]