We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d1b61f commit 0cd37ffCopy full SHA for 0cd37ff
1 file changed
tests/run_all_tests.php
@@ -248,6 +248,10 @@
248
if (file_exists($caseOut)) {
249
$expected = file_get_contents($caseOut);
250
}
251
+ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
252
+ $got = str_replace("\r\n", "\n", $got);
253
+ $expected = str_replace("\r\n", "\n", $expected);
254
+ }
255
if ($got != $expected) {
256
$brokenTests[$caseOut] = $got;
257
if (isset($opt['stop'])) {
0 commit comments