port-expected.txt revision 430b6b672341c7e8b5e4cfafaaae20315e68701b
1Test URLs that have a port number. 2 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6FAIL canonicalize('http://www.example.com:as df/') should be http://www.example.com:as%20df/. Was http://www.example.com:as df/. 7PASS canonicalize('http://www.example.com:-2/') is 'http://www.example.com:-2/' 8FAIL canonicalize('http://www.example.com:80/') should be http://www.example.com/. Was http://www.example.com:80/. 9PASS canonicalize('http://www.example.com:8080/') is 'http://www.example.com:8080/' 10PASS canonicalize('foobar://www.example.com:80/') is 'foobar://www.example.com:80/' 11PASS successfullyParsed is true 12 13TEST COMPLETE 14 15