From 60e1f9c8a6b5f343cfc8be2d8bc25018cfe0ddab Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Thu, 6 Oct 2022 01:11:46 +0300 Subject: 1.3.2 --- test/ruuter/core_test.cljc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/ruuter') diff --git a/test/ruuter/core_test.cljc b/test/ruuter/core_test.cljc index 75a71a0..1164124 100644 --- a/test/ruuter/core_test.cljc +++ b/test/ruuter/core_test.cljc @@ -27,10 +27,10 @@ :why "because"} (testfn "hello/:who?/:why?" "/hello/world/because"))) (is (= {:who "world"} - (testfn "hello/:who?/:why?" "/hello/world")))) + (testfn "/hello/:who?/:why?" "/hello/world")))) (testing "Wildcard param" - (is (= {:everything* "this/means/literally/everything"} - (testfn "hello/:everything*" "/hello/this/means/literally/everything")))))) + (is (= {:everything "this/means/literally/everything"} + (testfn "/hello/:everything*" "/hello/this/means/literally/everything")))))) (deftest match-route-test (let [testfn #'ruuter/match-route] -- cgit v1.2.3