From 45eab09d7a4f1ab1ede3cac070cfcd90f1bf39a1 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sun, 28 Oct 2018 20:19:40 +0200 Subject: [PATCH] Fix tests --- test/clj/reitit/http_test.clj | 3 +-- test/cljc/reitit/ring_test.cljc | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/clj/reitit/http_test.clj b/test/clj/reitit/http_test.clj index 387ef13d..f18bdf36 100644 --- a/test/clj/reitit/http_test.clj +++ b/test/clj/reitit/http_test.clj @@ -500,7 +500,6 @@ ((http/ring-handler (http/router []) (fn [{:keys [::r/router]}] - (println "here...") (is router)) {:executor sieppari/executor}) - {} (promise) (promise)))) + {} ::respond ::raise))) diff --git a/test/cljc/reitit/ring_test.cljc b/test/cljc/reitit/ring_test.cljc index f91086e8..636d5028 100644 --- a/test/cljc/reitit/ring_test.cljc +++ b/test/cljc/reitit/ring_test.cljc @@ -493,9 +493,11 @@ ((ring/ring-handler (ring/router []) (fn [{:keys [::r/router]}] - (is router))) {})) + (is router))) + {})) (testing "3-arity" ((ring/ring-handler (ring/router []) (fn [{:keys [::r/router]} _ _] - (is router))) {} (promise) (promise)))) + (is router))) + {} ::respond ::raise)))