diff --git a/tests/Composer/Test/Command/UpdateCommandTest.php b/tests/Composer/Test/Command/UpdateCommandTest.php index fdc876b9c..90b614389 100644 --- a/tests/Composer/Test/Command/UpdateCommandTest.php +++ b/tests/Composer/Test/Command/UpdateCommandTest.php @@ -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