浏览代码

Fix json test, fixes #3326

Jordi Boggiano 10 年之前
父节点
当前提交
ed54e8346d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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": [