From 2b49a3bcbad7070aa6ee24e8e714cfca38ca134e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 16 Oct 2011 22:25:18 +0000 Subject: [PATCH] Do a test for 1K --- 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 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' ), ); } -- 2.20.1