Skip to content

Commit

Permalink
Don't let clojure.test/test-var be dynamically bound. Fixes #246.
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Hickey <richhickey@gmail.com>
  • Loading branch information
technomancy authored and richhickey committed Apr 6, 2010
1 parent 1a375fd commit 9694a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/clojure/test.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@


;;; RUNNING TESTS: LOW-LEVEL FUNCTIONS ;;; 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, "If v has a function in its :test metadata, calls that function,
with *testing-vars* bound to (conj *testing-vars* v)." with *testing-vars* bound to (conj *testing-vars* v)."
[v] [v]
Expand Down

0 comments on commit 9694a92

Please sign in to comment.