aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-05-29 12:22:58 +0100
committerLouis Pilfold <louis@lpil.uk>2024-05-29 12:26:22 +0100
commit8f7105db3386ff7363c203e4284d89266ca29655 (patch)
treea5935fc1ce4b75713ed359cf70f94bd40ac00e51 /test
parent385e38b5ba3d8b2d713de391b6fa7788e127f424 (diff)
downloadgleam_stdlib-8f7105db3386ff7363c203e4284d89266ca29655.tar.gz
gleam_stdlib-8f7105db3386ff7363c203e4284d89266ca29655.zip
Format
Diffstat (limited to 'test')
-rw-r--r--test/gleam/uri_test.gleam28
1 files changed, 5 insertions, 23 deletions
diff --git a/test/gleam/uri_test.gleam b/test/gleam/uri_test.gleam
index 7de6fd5..506c246 100644
--- a/test/gleam/uri_test.gleam
+++ b/test/gleam/uri_test.gleam
@@ -341,29 +341,11 @@ pub fn empty_query_to_string_test() {
}
const percent_codec_fixtures = [
- #(" ", "%20"),
- #(",", "%2C"),
- #(";", "%3B"),
- #(":", "%3A"),
- #("!", "!"),
- #("?", "%3F"),
- #("'", "'"),
- #("(", "("),
- #(")", ")"),
- #("[", "%5B"),
- #("@", "%40"),
- #("/", "%2F"),
- #("\\", "%5C"),
- #("&", "%26"),
- #("#", "%23"),
- #("=", "%3D"),
- #("~", "~"),
- #("ñ", "%C3%B1"),
- #("-", "-"),
- #("_", "_"),
- #(".", "."),
- #("*", "*"),
- #("100% great", "100%25%20great"),
+ #(" ", "%20"), #(",", "%2C"), #(";", "%3B"), #(":", "%3A"), #("!", "!"),
+ #("?", "%3F"), #("'", "'"), #("(", "("), #(")", ")"), #("[", "%5B"),
+ #("@", "%40"), #("/", "%2F"), #("\\", "%5C"), #("&", "%26"), #("#", "%23"),
+ #("=", "%3D"), #("~", "~"), #("ñ", "%C3%B1"), #("-", "-"), #("_", "_"),
+ #(".", "."), #("*", "*"), #("100% great", "100%25%20great"),
]
// Allowed chars