Skip to content

Commit

Permalink
Use PHP_EOL (#35409)
Browse files Browse the repository at this point in the history
Use PHP_EOL in PendingCommand@applyTableOutputExpectations
  • Loading branch information
ArnaudLier committed Nov 29, 2020
1 parent 6aeb9cf commit 3e255bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Testing/PendingCommand.php
Expand Up @@ -351,7 +351,7 @@ private function applyTableOutputExpectations($mock)
$table->render();

$lines = array_filter(
explode("\n", $output->fetch())
explode(PHP_EOL, $output->fetch())
);

foreach ($lines as $line) {
Expand Down

0 comments on commit 3e255bf

Please sign in to comment.