Index: trunk/phase3/tests/phpunit/includes/HttpTest.php |
— | — | @@ -555,7 +555,7 @@ |
556 | 556 | array( false, 'telnet://host', 'Reject telnet scheme' ), |
557 | 557 | |
558 | 558 | # :\/\/ - double slashes |
559 | | - array( false, 'http//example.org', 'Reject missing column in protocol' ), |
| 559 | + array( false, 'http//example.org', 'Reject missing colon in protocol' ), |
560 | 560 | array( false, 'http:/example.org', 'Reject missing slash in protocol' ), |
561 | 561 | array( false, 'http:example.org', 'Must have two slashes' ), |
562 | 562 | # Following fail since hostname can be made of anything |
— | — | @@ -568,7 +568,7 @@ |
569 | 569 | |
570 | 570 | # (\S+) - host part is made of anything not whitespaces |
571 | 571 | array( false, 'http://!"èèè¿¿¿~~\'', 'hostname is made of any non whitespace' ), |
572 | | - array( false, 'http://exam:ple.org/', 'hostname can not use columns!' ), |
| 572 | + array( false, 'http://exam:ple.org/', 'hostname can not use colons!' ), |
573 | 573 | |
574 | 574 | # (:[0-9]+)? - port number |
575 | 575 | array( true, 'http://example.org:80/' ), |