summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hagelberg <technomancy@gmail.com>2010-02-18 12:48:31 -0800
committerRich Hickey <richhickey@gmail.com>2010-04-06 19:52:20 -0400
commit9694a92d84ddffb6794fa97efd429b5e23285553 (patch)
tree208cb8d35bb45402e43e160b9c7622e1b69e778a
parent1a375fd441d32877b23ddd6bf131fe4139bf4f86 (diff)
Don't let clojure.test/test-var be dynamically bound. Fixes #246.
Signed-off-by: Rich Hickey <richhickey@gmail.com>
-rw-r--r--src/clj/clojure/test.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/test.clj b/src/clj/clojure/test.clj
index 960e580b..51d5e3c3 100644
--- a/src/clj/clojure/test.clj
+++ b/src/clj/clojure/test.clj
@@ -633,7 +633,7 @@
;;; RUNNING TESTS: LOW-LEVEL FUNCTIONS
-(defn test-var
+(defn #^{:dynamic true} test-var
"If v has a function in its :test metadata, calls that function,
with *testing-vars* bound to (conj *testing-vars* v)."
[v]