mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Cleanup
This commit is contained in:
parent
1b37c87aa2
commit
7ae2bfafc2
1 changed files with 0 additions and 10 deletions
|
|
@ -299,16 +299,6 @@
|
|||
(is (= "foo#foo+bar+%25"
|
||||
(rf/match->path {:path "foo"} nil "foo bar %")))))
|
||||
|
||||
(defn instant->string
|
||||
[x]
|
||||
(str "x" (.toISOString x)))
|
||||
|
||||
(defn string->instant
|
||||
[x]
|
||||
(if (string? x)
|
||||
(js/Date. (subs x 1 (count x)))
|
||||
x))
|
||||
|
||||
(deftest match->path-coercion-test
|
||||
(testing "default keyword to string"
|
||||
(is (str/starts-with?
|
||||
|
|
|
|||
Loading…
Reference in a new issue