diff --git a/tests/Composer/Test/Command/InstallCommandTest.php b/tests/Composer/Test/Command/InstallCommandTest.php index 8dc1c911e..350f1c0d1 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->assertMatchesRegularExpression( '/is[[:blank:]]+not[[:blank:]]+found[[:blank:]]+for[[:blank:]]+package[[:blank:]]+test\\/two/', - $tester->getDisplay() + \str_replaece(PHP_EOL, '', $tester->getDisplay()) ); }