properly encode non-ASCII characters with encodeString

This commit is contained in:
jlamothe committed 2021-10-24 14:28:41 -04:00
1 parent a61806f8e4
commit db718eedcd
2 files changed
+15 -11

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ escapeStringSpec = describe "escapeString" $ mapM_
-- input, expected
[ ( "~foo-bar_baz.quux", "~foo-bar_baz.quux" )
, ( "foo:/?=&#%", "foo%3a%2f%3f%3d%26%23%25" )
, ( "foo\xe9", "foo%c3%a9" )
]
unescapeStringSpec :: Spec