mirror of
https://github.com/metosin/reitit.git
synced 2026-01-10 17:19:50 +00:00
Fix tests
This commit is contained in:
parent
da9c94e520
commit
dc5768d3cd
2 changed files with 1 additions and 3 deletions
|
|
@ -119,8 +119,7 @@
|
|||
(map->Route $))
|
||||
(map->Route {:path path
|
||||
:meta meta
|
||||
:matcher #?(:clj #(if (.equals path %) {})
|
||||
:cljs #(if (= path %)))
|
||||
:matcher #(if (#?(:clj .equals, :cljs =) path %) {})
|
||||
:result result}))))
|
||||
|
||||
(defn segments [path]
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@
|
|||
(r/lookup-router
|
||||
(r/resolve-routes
|
||||
["/api/:version/ping"] {})))))))
|
||||
["/api/:version/ping"] {})))))))
|
||||
|
||||
(testing "route coercion & compilation"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue