From d362e0a26c3c255d3b8a5c02d51b8587c8f8f819 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Mon, 14 Sep 2015 13:34:54 +0200 Subject: [PATCH] Mix calling style a bit in tests --- test/reagenttest/testmonitor.cljs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/reagenttest/testmonitor.cljs b/test/reagenttest/testmonitor.cljs index 958e763..c5465a9 100644 --- a/test/reagenttest/testmonitor.cljs +++ b/test/reagenttest/testmonitor.cljs @@ -137,15 +137,13 @@ (let [a (rv/atom 0) f (fn [x] (+ x @a)) b (monitor f 1) - c (monitor f -1) - d (run! [@b @c])] + d (run! [@b @(monitor f -1)])] (is (= @d [1 -1])) (dispose d)) (let [a (rv/atom 0) f (fn [x] (+ x @a)) - b (monitor f 1) c (monitor f -1) - d (run! [@b @c]) + d (run! [@(monitor f 1) @c]) res (rv/atom 0)] (is (= @d [1 -1])) (let [e (run! (reset! res @d))]