Dead code

This commit is contained in:
Tommi Reiman 2018-02-11 21:28:01 +02:00
parent 7ba1c98753
commit d5a809fdf9

View file

@ -234,15 +234,3 @@
[["/a"] ["/a"]])))) [["/a"] ["/a"]]))))
(testing "can be configured to ignore" (testing "can be configured to ignore"
(is (not (nil? (r/router [["/a"] ["/a"]] {:conflicts (constantly nil)}))))))) (is (not (nil? (r/router [["/a"] ["/a"]] {:conflicts (constantly nil)})))))))
(require '[reitit.core :as r])
(extend-type java.io.File
r/Expand
(expand [file options]
(r/expand
(fn [_] file)
options)))
(r/router
["/file" (java.io.File. "index.html")])