From e29fa6eef918ac870cdd3aaf65132abfa0957793 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 8 Mar 2011 07:27:18 +0000 Subject: [PATCH] switch 'column' for 'colon' I always thought the colon and semicolon punctuation marks were named after their architectural equivalent: column. At least, to me, it made more sens than using a term relating to thedigestive system. Per Nikerabbit r83296 --- tests/phpunit/includes/HttpTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/includes/HttpTest.php b/tests/phpunit/includes/HttpTest.php index 5d86952687..11ebd30ef2 100644 --- a/tests/phpunit/includes/HttpTest.php +++ b/tests/phpunit/includes/HttpTest.php @@ -555,7 +555,7 @@ class HttpTest extends MediaWikiTestCase { array( false, 'telnet://host', 'Reject telnet scheme' ), # :\/\/ - double slashes - array( false, 'http//example.org', 'Reject missing column in protocol' ), + array( false, 'http//example.org', 'Reject missing colon in protocol' ), array( false, 'http:/example.org', 'Reject missing slash in protocol' ), array( false, 'http:example.org', 'Must have two slashes' ), # Following fail since hostname can be made of anything @@ -568,7 +568,7 @@ class HttpTest extends MediaWikiTestCase { # (\S+) - host part is made of anything not whitespaces array( false, 'http://!"èèè¿¿¿~~\'', 'hostname is made of any non whitespace' ), - array( false, 'http://exam:ple.org/', 'hostname can not use columns!' ), + array( false, 'http://exam:ple.org/', 'hostname can not use colons!' ), # (:[0-9]+)? - port number array( true, 'http://example.org:80/' ), -- 2.20.1