mirror of
https://github.com/metosin/reitit.git
synced 2026-02-13 06:45:16 +00:00
Format code
This commit is contained in:
parent
3e6f1c0548
commit
763440e41f
1 changed files with 2 additions and 2 deletions
|
|
@ -247,8 +247,8 @@
|
|||
:post (constantly ok)}]]]
|
||||
(testing "using :method :add"
|
||||
(let [app (ring/ring-handler
|
||||
(ring/router routes)
|
||||
(ring/redirect-trailing-slash-handler {:method :add}))]
|
||||
(ring/router routes)
|
||||
(ring/redirect-trailing-slash-handler {:method :add}))]
|
||||
|
||||
(testing "exact matches work"
|
||||
(is (= ok (app {:request-method :get, :uri "/slash-less"})))
|
||||
|
|
|
|||
Loading…
Reference in a new issue