summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-02-14 04:33:20 +0000
committerRich Hickey <richhickey@gmail.com>2008-02-14 04:33:20 +0000
commita2a3bc0a1b8f21b777cff92d2a1186538051fee3 (patch)
tree6fff95ad2135b8779d93bbb12804544c15b25c18
parentfa8f7d3241fb8576020e7d8db9ef4c685e51beb8 (diff)
changed prstr to pr-str in assert
-rw-r--r--src/boot.clj2
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"}