aboutsummaryrefslogtreecommitdiff
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
parent75e179dd393a4f6f101f7958191461dcd398cbcc (diff)
tweaks: update build to match package names, idiomatic reset!
-rw-r--r--build.xml1
-rw-r--r--src/clojure/contrib/test_contrib/expect_test.clj2
2 files changed, 1 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 69390e1f..b7992d54 100644
--- a/build.xml
+++ b/build.xml
@@ -124,7 +124,6 @@
<arg value="clojure.contrib.except"/>
<arg value="clojure.contrib.expect"/>
<arg value="clojure.contrib.expect.test-is-adapter"/>
- <arg value="clojure.contrib.expect.util"/>
<arg value="clojure.contrib.fcase"/>
<arg value="clojure.contrib.find-namespaces"/>
<arg value="clojure.contrib.fnmap"/>
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