8000 minor #22178 [Console] Fix test (nicolas-grekas) · romainneutron/symfony@a0c2d5f · GitHub
[go: up one dir, main page]

Skip to content

Commit a0c2d5f

Browse files
committed
minor symfony#22178 [Console] Fix test (nicolas-grekas)
This PR was merged into the 3.2 branch. Discussion ---------- [Console] Fix test | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - To make appveyor green again. Commits ------- e9c3df6 [Console] Fix test
2 parents dc66960 + e9c3df6 commit a0c2d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Tests/Logger/ConsoleLoggerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testOutputMapping($logLevel, $outputVerbosity, $isOutput, $addVe
7070
$logger = new ConsoleLogger($out, $addVerbosityLevelMap);
7171
$logger->log($logLevel, 'foo bar');
7272
$logs = $out->fetch();
73-
$this->assertEquals($isOutput ? "[$logLevel] foo bar\n" : '', $logs);
73+
$this->assertEquals($isOutput ? "[$logLevel] foo bar".PHP_EOL : '', $logs);
7474
}
7575

7676
public function provideOutputMappingParams()

0 commit comments

Comments
 (0)
0