From 320668e7b5873682083873860cd52457f8104486 Mon Sep 17 00:00:00 2001 From: Christophe Grand Date: Mon, 9 Jan 2017 16:41:00 +0100 Subject: [PATCH] fix reader conditional, close #8 --- test/net/cgrand/xforms_test.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/net/cgrand/xforms_test.cljc b/test/net/cgrand/xforms_test.cljc index 797df34..24b67cd 100644 --- a/test/net/cgrand/xforms_test.cljc +++ b/test/net/cgrand/xforms_test.cljc @@ -9,7 +9,7 @@ n is the number of calls to rf before it returns a reduced. accs is a collection of successive return values for rf." ([xform n coll] - (trial xform n (repeatedly #(#?(:clj Object. :clj js/Object.))) coll)) + (trial xform n (repeatedly #(#?(:clj Object. :cljs js/Object.))) coll)) ([xform n accs coll] (let [vaccs (volatile! accs) vstate (volatile! {:n n :acc (first @vaccs) :state :init})