aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/uri_test.gleam4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gleam/uri_test.gleam b/test/gleam/uri_test.gleam
index 45fe73e..46ac2a5 100644
--- a/test/gleam/uri_test.gleam
+++ b/test/gleam/uri_test.gleam
@@ -114,6 +114,10 @@ pub fn host_to_string_test() {
uri.Uri(None, None, Some("example.com"), None, "noslash", None, None)
|> uri.to_string
|> should.equal("//example.com/noslash")
+
+ uri.Uri(None, None, Some(""), None, "", None, None)
+ |> uri.to_string
+ |> should.equal("//")
}
pub fn port_to_string_test() {