mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Skip visual snapshot test on Windows
This commit is contained in:
@ -24,4 +24,5 @@ test('visual snapshot of test suite on success', function () {
|
|||||||
array_pop($output);
|
array_pop($output);
|
||||||
assertStringContainsString(implode("\n", $output), file_get_contents($snapshot));
|
assertStringContainsString(implode("\n", $output), file_get_contents($snapshot));
|
||||||
}
|
}
|
||||||
})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE'));
|
})->skip(!getenv('REBUILD_SNAPSHOTS') && getenv('EXCLUDE'))
|
||||||
|
->skip(PHP_OS_FAMILY === 'Windows', 'File sorting algorithm causes different test order on Windows');
|
||||||
|
|||||||
Reference in New Issue
Block a user