diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-02-14 04:33:20 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-02-14 04:33:20 +0000 |
commit | a2a3bc0a1b8f21b777cff92d2a1186538051fee3 (patch) | |
tree | 6fff95ad2135b8779d93bbb12804544c15b25c18 | |
parent | fa8f7d3241fb8576020e7d8db9ef4c685e51beb8 (diff) |
changed prstr to pr-str in assert
-rw-r--r-- | src/boot.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj index 0ed951ca..a0ed368b 100644 --- a/src/boot.clj +++ b/src/boot.clj @@ -1262,7 +1262,7 @@ (defmacro assert [x] `(when-not ~x - (throw (new Exception (str "Assert failed: " (prstr '~x)))))) + (throw (new Exception (str "Assert failed: " (pr-str '~x)))))) (defn #^{:doc "test [v] finds fn at key :test in var metadata and calls it, presuming failure will throw exception"} |