From db77b5383104043e4925871ad2669a3d90906048 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Wed, 27 Dec 2017 21:37:04 +0200 Subject: [PATCH] Fix tests --- test/cljc/reitit/spec_test.cljc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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}