From 7ae2bfafc2345d7198a247015ba857453c639810 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Wed, 22 Jan 2025 14:20:02 +0200 Subject: [PATCH] Cleanup --- test/cljs/reitit/frontend/core_test.cljs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/cljs/reitit/frontend/core_test.cljs b/test/cljs/reitit/frontend/core_test.cljs index 559da199..0fe6ec31 100644 --- a/test/cljs/reitit/frontend/core_test.cljs +++ b/test/cljs/reitit/frontend/core_test.cljs @@ -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?