Skip to content

Instantly share code, notes, and snippets.

@Kah0ona
Created July 25, 2016 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kah0ona/0c9a83563a3129066edcd08936f320db to your computer and use it in GitHub Desktop.
Save Kah0ona/0c9a83563a3129066edcd08936f320db to your computer and use it in GitHub Desktop.
Testcase addition for url encoding.
(deftest complex-params-to-str
; other clauses.
(is (= "d=b%20c" (params-to-str {"d" "b c"})))
(is (= "d=b%20%26%20c" (params-to-str {"d" "b & c"}))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment