From 129de37d3ec4b86dbbb760f88a638d57d1d538a8 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sat, 29 Jun 2024 16:23:35 +0300 Subject: [PATCH] . --- test/cljc/reitit/ring_test.cljc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/cljc/reitit/ring_test.cljc b/test/cljc/reitit/ring_test.cljc index 78243c74..c0e7412c 100644 --- a/test/cljc/reitit/ring_test.cljc +++ b/test/cljc/reitit/ring_test.cljc @@ -765,12 +765,11 @@ (deftest path-update-fix-686 (testing "records are retained" - (is (true? (-> ["/api/foo" {:get {:handler (constantly {:status 200}) - :test (FooTest. 1 2)}}] - (ring/router) - (r/compiled-routes) - (first) - (second) - :get - :test - (record?)))))) + (is (record? (-> ["/api/foo" {:get {:handler (constantly {:status 200}) + :test (FooTest. 1 2)}}] + (ring/router) + (r/compiled-routes) + (first) + (second) + :get + :test)))))