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:
commit
a0c2d5f760
@ -70,7 +70,7 @@ class ConsoleLoggerTest extends TestCase
|
|||||||
$logger = new ConsoleLogger($out, $addVerbosityLevelMap);
|
$logger = new ConsoleLogger($out, $addVerbosityLevelMap);
|
||||||
$logger->log($logLevel, 'foo bar');
|
$logger->log($logLevel, 'foo bar');
|
||||||
$logs = $out->fetch();
|
$logs = $out->fetch();
|
||||||
$this->assertEquals($isOutput ? "[$logLevel] foo bar\n" : '', $logs);
|
$this->assertEquals($isOutput ? "[$logLevel] foo bar".PHP_EOL : '', $logs);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function provideOutputMappingParams()
|
public function provideOutputMappingParams()
|
||||||
|
Reference in New Issue
Block a user