aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGiacomo Cavalieri <giacomo.cavalieri@icloud.com>2024-11-16 11:36:15 +0100
committerLouis Pilfold <louis@lpil.uk>2024-11-25 17:49:59 +0000
commitc61d088223268206783dae3a7bd5eb3fa148c550 (patch)
tree3ca7820460825a6d3c9d3e3da5187a6f2b1edcf1 /test
parent2f9e187a5b954fbe7695b52734f0d5b3f8ab6653 (diff)
downloadgleam_stdlib-c61d088223268206783dae3a7bd5eb3fa148c550.tar.gz
gleam_stdlib-c61d088223268206783dae3a7bd5eb3fa148c550.zip
Remove regex dependency from uri module
Diffstat (limited to 'test')
-rw-r--r--test/gleam/uri_test.gleam1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gleam/uri_test.gleam b/test/gleam/uri_test.gleam
index 267c0d4..1e99718 100644
--- a/test/gleam/uri_test.gleam
+++ b/test/gleam/uri_test.gleam
@@ -177,6 +177,7 @@ fn assert_parse(s) {
// assert ":https" = uri.parse(":https").path
// assert "https" = uri.parse("https").path
// }
+
pub fn parse_downcases_scheme() {
let assert Ok(uri) = uri.parse("HTTPS://EXAMPLE.COM")
let assert Some("https") = uri.scheme