r99990 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99989‎ | r99990 | r99991 >
Date:22:25, 16 October 2011
Author:demon
Status:ok
Tags:
Comment:
Do a test for 1K
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfShorthandToInteger.php
@@ -20,6 +20,7 @@
2121 array( '1g', 1024 * 1024 * 1024, 'One gig lowercased' ),
2222 array( '1M', 1024 * 1024, 'One meg uppercased' ),
2323 array( '1m', 1024 * 1024, 'One meg lowercased' ),
 24+ array( '1K', 1024, 'One kb uppercased' ),
2425 );
2526 }
2627

Status & tagging log