diff --git a/tests/Composer/Test/Command/InstallCommandTest.php b/tests/Composer/Test/Command/InstallCommandTest.php index f5c71d4b9..08a9153fd 100644 --- a/tests/Composer/Test/Command/InstallCommandTest.php +++ b/tests/Composer/Test/Command/InstallCommandTest.php @@ -157,7 +157,7 @@ class InstallCommandTest extends TestCase $this->assertNotEquals(0, $tester->getStatusCode()); $this->assertStringContainsString( 'is not found for package test/two', - $tester->getDisplay() + \str_replace(PHP_EOL, '', $tester->getDisplay()) ); }