Fix test-raise.

This commit is contained in:
Richard Newman 2016-07-26 10:50:55 -07:00
parent a5556637e8
commit 72f7c8e1a3

View file

@ -14,7 +14,8 @@
(let [caught
(try
(do
(util/raise "succeed" {})
(util/raise "succeed" {:foo 1})
"fail")
(catch :default e e))]
(is (= "succeed" (aget caught "data"))))))
(is (= "succeed" (aget caught "message")))
(is (= {:foo 1} (aget caught "data"))))))