diff options
Diffstat (limited to 'tests/phpunit/includes/GlobalFunctions/GlobalTest.php')
-rw-r--r-- | tests/phpunit/includes/GlobalFunctions/GlobalTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php index 36a9349bde04..e6461cd13ddc 100644 --- a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php +++ b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php @@ -401,6 +401,7 @@ class GlobalTest extends MediaWikiTestCase { [ 3 / 6, '0.5%' ], [ 1 / 3, '0%', 0 ], [ 10 / 3, '0%', -1 ], + [ 123.456, '120%', -1 ], [ 3 / 4 / 5, '0.1%', 1 ], [ 6 / 7 * 8, '6.8571428571%', 10 ], ]; |