diff --git a/tests/Composer/Test/Util/HttpDownloaderTest.php b/tests/Composer/Test/Util/HttpDownloaderTest.php index cfed8d6a3..e35ab514e 100644 --- a/tests/Composer/Test/Util/HttpDownloaderTest.php +++ b/tests/Composer/Test/Util/HttpDownloaderTest.php @@ -74,10 +74,12 @@ class HttpDownloaderTest extends TestCase )); // the tag are consumed by the OutputFormatter, but not as that is not a default output format - $this->assertSame('Warning from $URL: old warning msg -Info from $URL: old info msg -Warning from $URL: visible warning -Info from $URL: visible info -', $io->getOutput()); + $this->assertSame( + 'Warning from $URL: old warning msg'.PHP_EOL. + 'Info from $URL: old info msg'.PHP_EOL. + 'Warning from $URL: visible warning'.PHP_EOL. + 'Info from $URL: visible info'.PHP_EOL, + $io->getOutput() + ); } }