Skip to content

Commit 0bdff3a

Browse files
committed
skip on windows
1 parent 5c4053a commit 0bdff3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PHPStan/Command/ErrorFormatter/TableErrorFormatterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@ public function testErrorLimit(
456456
int $generateErrorsCount = 4,
457457
): void
458458
{
459+
// windows has minor formatting differences (line breaks)
460+
$this->skipIfNotOnUnix();
461+
459462
putenv('COLUMNS=80');
460463
if ($showAllErrors) {
461464
if ($errorsBudget !== null) {

0 commit comments

Comments
 (0)