Add another test case for shorthand to integer (lowercase too)
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 16 Oct 2011 22:24:30 +0000 (22:24 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 16 Oct 2011 22:24:30 +0000 (22:24 +0000)
tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php

index d3c33f2..bbe6279 100644 (file)
@@ -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' ),
                );
        }