Explorar o código

Fix json test, fixes #3326

Jordi Boggiano %!s(int64=10) %!d(string=hai) anos
pai
achega
ed54e8346d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Composer/Test/Json/JsonFileTest.php

+ 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": [