Skip to content

Commit

Permalink
Fix tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jun 1, 2022
1 parent 6f0ac07 commit 5888945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Composer/Test/Command/UpdateCommandTest.php
Expand Up @@ -28,7 +28,7 @@ public function testUpdate(array $composerJson, array $command, string $expected
$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
Expand Down

0 comments on commit 5888945

Please sign in to comment.