Skip to content
This repository has been archived by the owner on Jan 30, 2019. It is now read-only.

Commit

Permalink
Add test for the override capability
Browse files Browse the repository at this point in the history
  • Loading branch information
iku000888 committed Jan 19, 2017
1 parent c94c6c4 commit 2729048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cemerick/test_url.cljx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"a=1&b=2&c=3" {:a 1 :b 2 :c 3}
"a=1&b=2&c=3" {:a "1" :b "2" :c "3"}
"a=1&b=2" {"a" "1" "b" "2"}
"a=" {"a" ""}))
"a=" {"a" ""}
"overridden=overridden" {:foo "bar" :override-encoder-fn (constantly "overridden")}))

(deftest url-roundtripping
(let [aurl (url "https://username:password@some.host.com/database?query=string")]
Expand Down

0 comments on commit 2729048

Please sign in to comment.