diff options
Diffstat (limited to 'test/ruuter')
| -rw-r--r-- | test/ruuter/core_test.cljc | 6 |
1 files changed, 3 insertions, 3 deletions
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] |
