From d4a9e6e678495c7739bedb4d693e42b91a26040f Mon Sep 17 00:00:00 2001 From: Wojciech Kania Date: Sat, 30 Oct 2021 18:15:02 +0200 Subject: [PATCH] [Console][AppVeyor] Fix EOL in the tests --- .../Component/Console/Tests/Command/CompleteCommandTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Console/Tests/Command/CompleteCommandTest.php b/src/Symfony/Component/Console/Tests/Command/CompleteCommandTest.php index ac539460946c8..bf8ab00c9f246 100644 --- a/src/Symfony/Component/Console/Tests/Command/CompleteCommandTest.php +++ b/src/Symfony/Component/Console/Tests/Command/CompleteCommandTest.php @@ -82,7 +82,7 @@ public function provideInputAndCurrentOptionValues() public function testCompleteCommandName(array $input, array $suggestions) { $this->execute(['--current' => '1', '--input' => $input]); - $this->assertEquals(implode("\n", $suggestions)."\n", $this->tester->getDisplay()); + $this->assertEquals(implode("\n", $suggestions).\PHP_EOL, $this->tester->getDisplay()); } public function provideCompleteCommandNameInputs() @@ -98,7 +98,7 @@ public function provideCompleteCommandNameInputs() public function testCompleteCommandInputDefinition(array $input, array $suggestions) { $this->execute(['--current' => '2', '--input' => $input]); - $this->assertEquals(implode("\n", $suggestions)."\n", $this->tester->getDisplay()); + $this->assertEquals(implode("\n", $suggestions).\PHP_EOL, $this->tester->getDisplay()); } public function provideCompleteCommandInputDefinitionInputs()