More test cases.

svn path=/trunk/netsurf/; revision=13109
This commit is contained in:
Michael Drake 2011-10-31 22:24:05 +00:00
parent 3ecf3c1eaf
commit 30ff09bd83
1 changed files with 14 additions and 0 deletions

View File

@ -40,6 +40,20 @@ static const struct test_pairs create_tests[] = {
{ "http://user:pass@www.ns-b.org:8080/hello",
"http://user:pass@www.ns-b.org:8080/hello" },
{ "http://www.ns-b.org:80/",
"http://www.ns-b.org/" },
{ "http://user@www.ns-b.org:80/hello",
"http://user@www.ns-b.org/hello" },
{ "http://user:pass@www.ns-b.org:80/hello",
"http://user:pass@www.ns-b.org/hello" },
{ "http://www.ns-b.org:/",
"http://www.ns-b.org/" },
{ "http://u@www.ns-b.org:/hello",
"http://u@www.ns-b.org/hello" },
{ "http://u:p@www.ns-b.org:/hello",
"http://u:p@www.ns-b.org/hello" },
{ NULL, NULL }
};