summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/nsurl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/nsurl.c b/test/nsurl.c
index 21b8c01de..7e43a6d6c 100644
--- a/test/nsurl.c
+++ b/test/nsurl.c
@@ -136,6 +136,12 @@ static const struct test_pairs create_tests[] = {
{ "file:////", "file:////" },
{ "file://///", "file://///" },
+ { "file://localhost/", "file:///" },
+ { "file://foobar/", "file:///" },
+ { "file://foobar", "file:///" },
+ { "file:///foobar", "file:///foobar" },
+ { "file://tlsa@foo/", "file:///" },
+
/* test case insensitivity */
{ "HTTP://a/b", "http://a/b" },
{ "ftp://a/b", "ftp://a/b" },