From ad0ecdfad24bcd194e0cadc3e49f8b6901bc2023 Mon Sep 17 00:00:00 2001 From: Hugo Thunnissen Date: Mon, 20 Jun 2022 16:05:59 +0200 Subject: [PATCH] Remove newlines from command output --- tests/Composer/Test/Command/InstallCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) ); }