diff --git a/tests/Composer/Test/Json/JsonFileTest.php b/tests/Composer/Test/Json/JsonFileTest.php index f918d538b..55bf603ea 100644 --- a/tests/Composer/Test/Json/JsonFileTest.php +++ b/tests/Composer/Test/Json/JsonFileTest.php @@ -200,6 +200,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase $this->fail(); } catch (JsonValidationException $e) { $this->assertContains($text, $e->getMessage()); + $this->assertNotEmpty($e->getErrors()); } }