From cee774155d79f199412dec9b9f83b245836a5683 Mon Sep 17 00:00:00 2001 From: Hugo Thunnissen Date: Mon, 20 Jun 2022 15:58:42 +0200 Subject: [PATCH] Remove newlines from command display --- 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 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()) ); }