Fix tests

This commit is contained in:
Tommi Reiman 2017-10-02 08:21:18 +03:00
parent da9c94e520
commit dc5768d3cd
2 changed files with 1 additions and 3 deletions

View file

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

View file

@ -69,7 +69,6 @@
(r/lookup-router
(r/resolve-routes
["/api/:version/ping"] {})))))))
["/api/:version/ping"] {})))))))
(testing "route coercion & compilation"