aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2009-08-25 21:47:17 -0400
committerStuart Halloway <stu@thinkrelevance.com>2009-08-25 21:47:17 -0400
commitf191c6be636ad682343279280fbe02fb2a956a03 (patch)
tree172f34c640872383359feef4b92269612f9b63b2 /src
parent75e179dd393a4f6f101f7958191461dcd398cbcc (diff)
tweaks: update build to match package names, idiomatic reset!
Diffstat (limited to 'src')
-rw-r--r--src/clojure/contrib/test_contrib/expect_test.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/test_contrib/expect_test.clj b/src/clojure/contrib/test_contrib/expect_test.clj
index 941a0d69..52f37741 100644
--- a/src/clojure/contrib/test_contrib/expect_test.clj
+++ b/src/clojure/contrib/test_contrib/expect_test.clj
@@ -14,7 +14,7 @@
(defmacro assert-called [fn-name called? & body]
`(let [called-status?# (atom false)]
- (binding [~fn-name (fn [& args#] (swap! called-status?# (fn [& args#] true)))] ~@body)
+ (binding [~fn-name (fn [& args#] (reset! called-status?# true))] ~@body)
(is (= ~called? @called-status?#))))
(deftest test-convenience