Skip to content

Commit 8fcbc4f

Browse files
committed
Fix crossplatform test
1 parent f18353d commit 8fcbc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHP/CodeCoverage/Report/HTMLTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function assertFilesEquals($expectedFilesPath, $actualFilesPath)
104104
$this->assertFileExists($actualFile);
105105
$this->assertStringMatchesFormatFile(
106106
$fileInfo->getPathname(),
107-
file_get_contents($actualFile),
107+
str_replace(PHP_EOL, "\n", file_get_contents($actualFile)),
108108
"${filename} not match"
109109
);
110110
}

0 commit comments

Comments
 (0)