After [37702], correct the expected result in `test_size_format()`.

See #37037.

git-svn-id: https://develop.svn.wordpress.org/trunk@37705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-06-14 22:12:35 +00:00
parent 62733745df
commit 661f5a477e
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Tests_Functions extends WP_UnitTestCase {
// test if boundaries are correct
$this->assertEquals('1 GB', size_format($gb, 0));
$this->assertEquals('1 MB', size_format($mb, 0));
$this->assertEquals('1 kB', size_format($kb, 0));
$this->assertEquals('1 KB', size_format($kb, 0));
$this->assertEquals('1 B', size_format($b, 0));
// now some values around
// add some bytes to make sure the result isn't 1.4999999