Skip to content

Commit aed1eb1

Browse files
authored
Merge pull request #6706 from paulbalandan/line-ending
fix: `TestCaseTest::testStreamFilter` fails on Windows
2 parents 6309010 + 1604f23 commit aed1eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Test/TestCaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function testEventTriggering()
5959
public function testStreamFilter()
6060
{
6161
CLI::write('first.');
62-
$expected = "\nfirst.\n";
62+
$expected = PHP_EOL . 'first.' . PHP_EOL;
6363
$this->assertSame($expected, $this->getStreamFilterBuffer());
6464
}
6565

0 commit comments

Comments
 (0)