mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
tests: unexpected output
This commit is contained in:
@ -121,8 +121,7 @@ final class ResultPrinter
|
||||
|
||||
$unexpectedOutput = $this->tail($outputFile);
|
||||
if ($unexpectedOutput !== '') {
|
||||
// if unexpected output only contains the letter "T", like "T", or "TT", or "TTT", etc, then ignore it.
|
||||
if (preg_match('/^T+$/', $unexpectedOutput) !== false) {
|
||||
if (preg_match('/^T+$/', $unexpectedOutput) > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user