From a6c6537529757b63836626c4d71a82bdef9bcc56 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Nov 2015 07:17:49 +0100 Subject: [PATCH] skip no more needed with jsonc 1.3.9 --- tests/Composer/Test/Json/JsonFileTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/Json/JsonFileTest.php b/tests/Composer/Test/Json/JsonFileTest.php index 867c69307..08d976f4f 100644 --- a/tests/Composer/Test/Json/JsonFileTest.php +++ b/tests/Composer/Test/Json/JsonFileTest.php @@ -54,7 +54,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase public function testParseErrorDetectSingleQuotes() { - if (defined('JSON_PARSER_NOTSTRICT')) { + if (defined('JSON_PARSER_NOTSTRICT') && version_compare(phpversion('json'), '1.3.9', '<')) { $this->markTestSkipped('jsonc issue, see https://github.com/remicollet/pecl-json-c/issues/23'); } $json = '{