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 } };