From: Chad Horohoe Date: Sun, 16 Oct 2011 22:25:18 +0000 (+0000) Subject: Do a test for 1K X-Git-Tag: 1.31.0-rc.0~27057 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=2b49a3bcbad7070aa6ee24e8e714cfca38ca134e;p=lhc%2Fweb%2Fwiklou.git Do a test for 1K --- diff --git a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php index bbe62792e7..dc3fabb3df 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php +++ b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php @@ -20,6 +20,7 @@ class wfShorthandToIntegerTest extends MediaWikiTestCase { array( '1g', 1024 * 1024 * 1024, 'One gig lowercased' ), array( '1M', 1024 * 1024, 'One meg uppercased' ), array( '1m', 1024 * 1024, 'One meg lowercased' ), + array( '1K', 1024, 'One kb uppercased' ), ); }