minor #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
-------

e9c3df6c94 [Console] Fix test
This commit is contained in:
Fabien Potencier 2017-03-27 07:45:47 -07:00
commit a0c2d5f760

View File

@ -70,7 +70,7 @@ class ConsoleLoggerTest extends TestCase
$logger = new ConsoleLogger($out, $addVerbosityLevelMap);
$logger->log($logLevel, 'foo bar');
$logs = $out->fetch();
$this->assertEquals($isOutput ? "[$logLevel] foo bar\n" : '', $logs);
$this->assertEquals($isOutput ? "[$logLevel] foo bar".PHP_EOL : '', $logs);
}
public function provideOutputMappingParams()