summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/nsurl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/nsurl.c b/test/nsurl.c
index 9a0b9c055..c82bc888c 100644
--- a/test/nsurl.c
+++ b/test/nsurl.c
@@ -54,6 +54,14 @@ static const struct test_pairs create_tests[] = {
{ "http://u:p@www.ns-b.org:/hello",
"http://u:p@www.ns-b.org/hello" },
+ { "http:a/", "http://a/" },
+ { "http:/a/", "http://a/" },
+ { "http://u@a", "http://u@a/" },
+ { "http://@a", "http://a/" },
+
+ { "mailto:u@a", "mailto:u@a" },
+ { "mailto:@a", "mailto:a" },
+
{ NULL, NULL }
};