summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clj/clojure/core.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index f78b385f..cd82bdf5 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -3158,7 +3158,7 @@
[x]
(when *assert*
`(when-not ~x
- (throw (new Exception (str "Assert failed: " (pr-str '~x)))))))
+ (throw (new AssertionError (str "Assert failed: " (pr-str '~x)))))))
(defn test
"test [v] finds fn at key :test in var metadata and calls it,