Add some tests.

svn path=/trunk/netsurf/; revision=13114
This commit is contained in:
Michael Drake 2011-11-03 12:16:01 +00:00
parent 04f6957141
commit 4ad1557d27
1 changed files with 8 additions and 0 deletions

View File

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