Fix tests

This commit is contained in:
Tommi Reiman 2017-12-27 21:37:04 +02:00
parent 974f4534fc
commit db77b53831

View file

@ -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}