aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--test/gleam/uri_test.gleam28
2 files changed, 6 insertions, 24 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 05ac6d2..bd0b795 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
- uses: erlef/setup-beam@v1
with:
otp-version: "26.0.2"
- gleam-version: "1.1.0"
+ gleam-version: "1.2.0"
- uses: actions/setup-node@v3
with:
node-version: "16.18.1"
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