File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Console/Tests/Command
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function provideInputAndCurrentOptionValues()
82
82
public function testCompleteCommandName (array $ input , array $ suggestions )
83
83
{
84
84
$ this ->execute (['--current ' => '1 ' , '--input ' => $ input ]);
85
- $ this ->assertEquals (implode ("\n" , $ suggestions )."\n" , $ this ->tester ->getDisplay ());
85
+ $ this ->assertEquals (implode ("\n" , $ suggestions ).\ PHP_EOL , $ this ->tester ->getDisplay ());
86
86
}
87
87
88
88
public function provideCompleteCommandNameInputs ()
@@ -98,7 +98,7 @@ public function provideCompleteCommandNameInputs()
98
98
public function testCompleteCommandInputDefinition (array $ input , array $ suggestions )
99
99
{
100
100
$ this ->execute (['--current ' => '2 ' , '--input ' => $ input ]);
101
- $ this ->assertEquals (implode ("\n" , $ suggestions )."\n" , $ this ->tester ->getDisplay ());
101
+ $ this ->assertEquals (implode ("\n" , $ suggestions ).\ PHP_EOL , $ this ->tester ->getDisplay ());
102
102
}
103
103
104
104
public function provideCompleteCommandInputDefinitionInputs ()
You can’t perform that action at this time.
0 commit comments