From 4b3a4110ab8a56ef67d6d250f786f3b30983a774 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Tue, 5 Dec 2017 08:58:55 +0200 Subject: [PATCH] Fix (cljs) tests --- test/cljc/reitit/middleware_test.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cljc/reitit/middleware_test.cljc b/test/cljc/reitit/middleware_test.cljc index d8ad86e2..3ad16298 100644 --- a/test/cljc/reitit/middleware_test.cljc +++ b/test/cljc/reitit/middleware_test.cljc @@ -113,7 +113,7 @@ (testing "too deeply compiled Middleware fails" (binding [middleware/*max-compile-depth* 2] - (is (thrown? Exception (->app [[(middleware/create mw3) :value]] identity))))) + (is (thrown? ExceptionInfo (->app [[(middleware/create mw3) :value]] identity))))) (testing "nil unmounts the middleware" (let [app (->app [{:compile (constantly nil)}