Browse Source

ignore this test with 'jsonc'

Remi Collet 9 years ago
parent
commit
c014e0882f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/Composer/Test/Json/JsonFileTest.php

+ 3 - 0
tests/Composer/Test/Json/JsonFileTest.php

@@ -54,6 +54,9 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase
 
     public function testParseErrorDetectSingleQuotes()
     {
+        if (defined('JSON_PARSER_NOTSTRICT')) {
+            $this->markTestSkipped('jsonc issue, see https://github.com/remicollet/pecl-json-c/issues/23');
+        }
         $json = '{
         \'foo\': "bar"
 }';