Эх сурвалжийг харах

Fix json test, fixes #3326

Jordi Boggiano 10 жил өмнө
parent
commit
ed54e8346d

+ 1 - 1
tests/Composer/Test/Json/JsonFileTest.php

@@ -131,7 +131,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase
     public function testFormatEmptyArray()
     {
         $data = array('test' => array(), 'test2' => new \stdClass);
-        if (PHP_VERSION_ID < 50429 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50513)) {
+        if (PHP_VERSION_ID < 50428 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50512)) {
             $json = '{
     "test": [