php-parallel-lint / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
287 stars 21 forks source link

OutputTest: fix risky test #156

Closed jrfnl closed 7 months ago

jrfnl commented 7 months ago

The OutputTest::testGitLabOutput() was being marked as risky for the first test case (no errors) as no assertions were being run.

This commit adds an extra assertion to prevent this, but also to make the test more thorough as the test will now also fail if the number of errors expected versus received does not match.