1
0
Fork 0

Fix tests on windows

pull/10815/head
Jordi Boggiano 2022-06-01 22:10:48 +02:00
parent 6f0ac07ebe
commit 5888945c30
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class UpdateCommandTest extends TestCase
$appTester = $this->getApplicationTester();
$appTester->run(array_merge(['command' => 'update', '--dry-run' => true], $command));
$this->assertSame(trim($expected), trim($appTester->getDisplay()));
$this->assertSame(strtr(trim($expected), "\r", ''), strtr(trim($appTester->getDisplay()), "\r", ''));
}
public function provideUpdates(): \Generator