diff --git a/tests/Unit/Outputs/OutputTest.php b/tests/Unit/Outputs/OutputTest.php index 31cad47..79b5b8e 100644 --- a/tests/Unit/Outputs/OutputTest.php +++ b/tests/Unit/Outputs/OutputTest.php @@ -26,6 +26,8 @@ public function testGitLabOutput($errors) $result = (array) json_decode($writer->getLogs()); + $this->assertSame(count($errors), count($result)); + for ($i = 0; $i < count($result) && $i < count($errors); $i++) { $message = $errors[$i]->getMessage(); $filePath = $errors[$i]->getFilePath();