Skip to content

Commit 5a49706

Browse files
committed
Fix failures due to line ending
1 parent 8024ff9 commit 5a49706

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/system/Commands/RoutesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function tearDown(): void
3939

4040
protected function getBuffer()
4141
{
42-
return $this->getStreamFilterBuffer();
42+
return str_replace(PHP_EOL, "\n", $this->getStreamFilterBuffer());
4343
}
4444

4545
private function getCleanRoutes(): RouteCollection

tests/system/Commands/Utilities/NamespacesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function tearDown(): void
3737

3838
protected function getBuffer()
3939
{
40-
return $this->getStreamFilterBuffer();
40+
return str_replace(PHP_EOL, "\n", $this->getStreamFilterBuffer());
4141
}
4242

4343
public function testNamespacesCommandCodeIgniterOnly()

0 commit comments

Comments
 (0)