Skip to content
Browse files

Don't let clojure.test/test-var be dynamically bound. Fixes #246.

Signed-off-by: Rich Hickey <richhickey@gmail.com>
  • Loading branch information...
1 parent 1a375fd commit 9694a92d84ddffb6794fa97efd429b5e23285553 @technomancy technomancy committed with Feb 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/clojure/test.clj
View
2 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]

0 comments on commit 9694a92

Please sign in to comment.
Something went wrong with that request. Please try again.