Explorar el Código

ignore this test with 'jsonc'

Remi Collet hace 9 años
padre
commit
c014e0882f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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"
 }';