diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-11-16 08:28:35 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-11-16 14:56:15 +0100 |
commit | 7cbd440e7a69eb836eb9d58800f1c535d41b83ab (patch) | |
tree | f34d4b565cb2892fa663696a2596693e6fe6a638 /tests/functions | |
parent | 4e3a42f59fa32fb1a3e14cff959b19576e5ba7cf (diff) | |
download | forums-7cbd440e7a69eb836eb9d58800f1c535d41b83ab.tar forums-7cbd440e7a69eb836eb9d58800f1c535d41b83ab.tar.gz forums-7cbd440e7a69eb836eb9d58800f1c535d41b83ab.tar.bz2 forums-7cbd440e7a69eb836eb9d58800f1c535d41b83ab.tar.xz forums-7cbd440e7a69eb836eb9d58800f1c535d41b83ab.zip |
[ticket/11192] Mark negative byte numbers as unsupported.
PHPBB3-11192
Diffstat (limited to 'tests/functions')
-rw-r--r-- | tests/functions/get_formatted_filesize_test.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/functions/get_formatted_filesize_test.php b/tests/functions/get_formatted_filesize_test.php index 88866f90ac..c4793e8073 100644 --- a/tests/functions/get_formatted_filesize_test.php +++ b/tests/functions/get_formatted_filesize_test.php @@ -30,18 +30,10 @@ class phpbb_get_formatted_filesize_test extends phpbb_test_case array(0, '0 BYTES'), array(2, '2 BYTES'), - array(-2, '-2 BYTES'), array(1023, '1023 BYTES'), array(1025, '1 KIB'), - array(-1023, '-1023 BYTES'), - array(-1025, '-1025 BYTES'), - array(1048575, '1024 KIB'), - - // large negatives - array(-1073741824, '-1073741824 BYTES'), - array(-1099511627776, '-1099511627776 BYTES'), ); } @@ -64,18 +56,10 @@ class phpbb_get_formatted_filesize_test extends phpbb_test_case array('0', '0 BYTES'), array('2', '2 BYTES'), - array('-2', '-2 BYTES'), array('1023', '1023 BYTES'), array('1025', '1 KIB'), - array('-1023', '-1023 BYTES'), - array('-1025', '-1025 BYTES'), - array('1048575', '1024 KIB'), - - // large negatives - array('-1073741824', '-1073741824 BYTES'), - array('-1099511627776', '-1099511627776 BYTES'), ); } |