From 661f5a477e64ad47bf8daf97ef173b81192ea75a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 14 Jun 2016 22:12:35 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php index 2a7f5c5bef..e28e65f752 100644 --- a/tests/phpunit/tests/functions.php +++ b/tests/phpunit/tests/functions.php @@ -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