mirror of
https://github.com/metosin/reitit.git
synced 2026-02-19 01:05:55 +00:00
Fix tests
This commit is contained in:
parent
974f4534fc
commit
db77b53831
1 changed files with 3 additions and 4 deletions
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
["/api" {}]
|
["/api" {}]
|
||||||
|
|
||||||
|
["api" {}]
|
||||||
|
|
||||||
[["/api" {}]]
|
[["/api" {}]]
|
||||||
|
|
||||||
["/api"
|
["/api"
|
||||||
|
|
@ -35,9 +37,6 @@
|
||||||
(r/router
|
(r/router
|
||||||
data)))
|
data)))
|
||||||
|
|
||||||
;; missing slash
|
|
||||||
["invalid" {}]
|
|
||||||
|
|
||||||
;; path
|
;; path
|
||||||
[:invalid {}]
|
[:invalid {}]
|
||||||
|
|
||||||
|
|
@ -68,7 +67,7 @@
|
||||||
(r/router
|
(r/router
|
||||||
["/api"] opts)))
|
["/api"] opts)))
|
||||||
|
|
||||||
{:path "api"}
|
{:path :api}
|
||||||
{:path nil}
|
{:path nil}
|
||||||
{:data nil}
|
{:data nil}
|
||||||
{:expand nil}
|
{:expand nil}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue