From: Chad Horohoe Date: Sun, 16 Oct 2011 22:24:30 +0000 (+0000) Subject: Add another test case for shorthand to integer (lowercase too) X-Git-Tag: 1.31.0-rc.0~27058 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=7649324807ebecf63ed9ae67eb6cee3b72446be9;p=lhc%2Fweb%2Fwiklou.git Add another test case for shorthand to integer (lowercase too) --- diff --git a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php index d3c33f2a0a..bbe62792e7 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php +++ b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php @@ -19,6 +19,7 @@ class wfShorthandToIntegerTest extends MediaWikiTestCase { array( '1G', 1024 * 1024 * 1024, 'One gig uppercased' ), array( '1g', 1024 * 1024 * 1024, 'One gig lowercased' ), array( '1M', 1024 * 1024, 'One meg uppercased' ), + array( '1m', 1024 * 1024, 'One meg lowercased' ), ); }