port-expected.txt revision 2fc2651226baac27029e38c9d6ef883fa32084db
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/'
8PASS canonicalize('http://www.example.com:80/') is 'http://www.example.com/'
9PASS canonicalize('http://www.example.com:8080/') is 'http://www.example.com:8080/'
10PASS canonicalize('http://www.example.com:/') is 'http://www.example.com/'
11PASS canonicalize('foobar://www.example.com:80/') is 'foobar://www.example.com:80/'
12PASS successfullyParsed is true
13
14TEST COMPLETE
15
16