Skip to content

Commit 3ae9e88

Browse files
committed
Merge branch 'master' into new
2 parents 16e042a + afc3063 commit 3ae9e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/clojure/core.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3158,7 +3158,7 @@
31583158
[x]
31593159
(when *assert*
31603160
`(when-not ~x
3161-
(throw (new Exception (str "Assert failed: " (pr-str '~x)))))))
3161+
(throw (new AssertionError (str "Assert failed: " (pr-str '~x)))))))
31623162

31633163
(defn test
31643164
"test [v] finds fn at key :test in var metadata and calls it,

0 commit comments

Comments
 (0)