diff --git a/test/cljc/reitit/impl_test.cljc b/test/cljc/reitit/impl_test.cljc index b822666f..3e2e5ff5 100644 --- a/test/cljc/reitit/impl_test.cljc +++ b/test/cljc/reitit/impl_test.cljc @@ -11,21 +11,15 @@ (deftest strip-nils-test (is (= {:a 1, :c false} (impl/strip-nils {:a 1, :b nil, :c false})))) -(deftest into-string-test - (is (= "1" (impl/into-string 1))) - (is (= "2.2" (impl/into-string 2.2))) - (is (= "kikka" (impl/into-string "kikka"))) - (is (= "kikka" (impl/into-string :kikka))) - (is (= "reitit.impl-test/kikka" (impl/into-string ::kikka)))) - (deftest url-encode-and-decode-test (is (= "reitit.impl-test%2Fkikka" (-> ::kikka impl/into-string impl/url-encode))) - (is (= "reitit.impl-test/kikka" (-> ::kikka - impl/into-string - impl/url-encode - impl/url-decode)))) + (is (= ::kikka (-> ::kikka + impl/into-string + impl/url-encode + impl/url-decode + keyword)))) (deftest path-params-test (is (= {:n "1"