mirror of
https://github.com/metosin/reitit.git
synced 2026-01-02 14:48:24 +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"
|
||||
|
|
@ -35,9 +37,6 @@
|
|||
(r/router
|
||||
data)))
|
||||
|
||||
;; missing slash
|
||||
["invalid" {}]
|
||||
|
||||
;; path
|
||||
[:invalid {}]
|
||||
|
||||
|
|
@ -68,7 +67,7 @@
|
|||
(r/router
|
||||
["/api"] opts)))
|
||||
|
||||
{:path "api"}
|
||||
{:path :api}
|
||||
{:path nil}
|
||||
{:data nil}
|
||||
{:expand nil}
|
||||
|
|
|
|||
Loading…
Reference in a new issue