diff --git a/test/cljc/reitit/spec_test.cljc b/test/cljc/reitit/spec_test.cljc index 6260088c..cd07b822 100644 --- a/test/cljc/reitit/spec_test.cljc +++ b/test/cljc/reitit/spec_test.cljc @@ -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}