8000 [Console][AppVeyor] Fix EOL in the tests · symfony/symfony@0991463 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0991463

Browse files
committed
[Console][AppVeyor] Fix EOL in the tests
1 parent 5898027 commit 0991463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Console/Tests/Command/CompleteCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function provideInputAndCurrentOptionValues()
8282
public function testCompleteCommandName(array $input, array $suggestions)
8383
{
8484
$this->execute(['--current' => '1', '--input' => $input]);
85-
$this->assertEquals(implode("\n", $suggestions)."\n", $this->tester->getDisplay());
85+
$this->assertEquals(implode(PHP_EOL, $suggestions).PHP_EOL, $this->tester->getDisplay());
8686
}
8787

8888
public function provideCompleteCommandNameInputs()
@@ -98,7 +98,7 @@ public function provideCompleteCommandNameInputs()
9898
public function testCompleteCommandInputDefinition(array $input, array $suggestions)
9999
{
100100
$this->execute(['--current' => '2', '--input' => $input]);
101-
$this->assertEquals(implode("\n", $suggestions)."\n", $this->tester->getDisplay());
101+
$this->assertEquals(implode(PHP_EOL, $suggestions).PHP_EOL, $this->tester->getDisplay());
102102
}
103103

104104
public function provideCompleteCommandInputDefinitionInputs()

0 commit comments

Comments
 (0)
0