From 7120f21cd6f704214bdb7e2f697a6b385ac81097 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 16 Oct 2011 22:24:13 +0000 Subject: [PATCH] Add another test case for shorthand to integer --- tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php index 9b48e9b48d..d3c33f2a0a 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php +++ b/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php @@ -18,6 +18,7 @@ class wfShorthandToIntegerTest extends MediaWikiTestCase { array( ' ', -1, 'String of spaces' ), array( '1G', 1024 * 1024 * 1024, 'One gig uppercased' ), array( '1g', 1024 * 1024 * 1024, 'One gig lowercased' ), + array( '1M', 1024 * 1024, 'One meg uppercased' ), ); } -- 2.20.1