summaryrefslogtreecommitdiff
path: root/test/ruuter
diff options
context:
space:
mode:
authorAsko Nõmm <ano@ano.ee>2022-10-06 01:11:46 +0300
committerAsko Nõmm <ano@ano.ee>2022-10-06 01:11:46 +0300
commit60e1f9c8a6b5f343cfc8be2d8bc25018cfe0ddab (patch)
treec5f117ffb9f46eb393c7b20c5cef0d48ddb0dbe2 /test/ruuter
parent9e8abbf26d4422ba133bba7186363bee5b1f38d7 (diff)
1.3.2
Diffstat (limited to 'test/ruuter')
-rw-r--r--test/ruuter/core_test.cljc6
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]