Fix tests when macros change

This commit is contained in:
Dan Holmsand 2014-12-07 16:38:28 +01:00
parent ed06312eaf
commit 1a2417a14b
2 changed files with 7 additions and 5 deletions

View File

@ -5,9 +5,9 @@
(declare ^:dynamic *ratom-context*)
(def debug false)
(defonce debug false)
(def -running (clojure.core/atom 0))
(defonce -running (clojure.core/atom 0))
(defn running [] @-running)

View File

@ -6,10 +6,12 @@
(:require [cemerick.cljs.test :as t]
[reagent.ratom :as rv]))
(set! rv/debug true)
(defn running []
(set! rv/debug true)
(rv/running))
(defn running [] (rv/running))
(defn dispose [v] (rv/dispose! v))
(defn dispose [v]
(rv/dispose! v))
(defn ratom-perf []
(dbg "ratom-perf")