Author: tlsa
Date: Mon Oct 31 17:24:05 2011
New Revision: 13109
URL:
http://source.netsurf-browser.org?rev=13109&view=rev
Log:
More test cases.
Modified:
trunk/netsurf/test/nsurl.c
Modified: trunk/netsurf/test/nsurl.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/test/nsurl.c?rev=13109&am...
==============================================================================
--- trunk/netsurf/test/nsurl.c (original)
+++ trunk/netsurf/test/nsurl.c Mon Oct 31 17:24:05 2011
@@ -39,6 +39,20 @@
"http://user@www.ns-b.org:8080/hello" },
{ "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 }
};