1
0
Fork 0

Fix tests on windows

pull/10309/head
Jordi Boggiano 2021-11-24 16:19:37 +01:00
parent 7e3626362e
commit e96656d850
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 7 additions and 5 deletions

View File

@ -74,10 +74,12 @@ class HttpDownloaderTest extends TestCase
)); ));
// the <info> tag are consumed by the OutputFormatter, but not <warning> as that is not a default output format // the <info> tag are consumed by the OutputFormatter, but not <warning> as that is not a default output format
$this->assertSame('<warning>Warning from $URL: old warning msg</warning> $this->assertSame(
Info from $URL: old info msg '<warning>Warning from $URL: old warning msg</warning>'.PHP_EOL.
<warning>Warning from $URL: visible warning</warning> 'Info from $URL: old info msg'.PHP_EOL.
Info from $URL: visible info '<warning>Warning from $URL: visible warning</warning>'.PHP_EOL.
', $io->getOutput()); 'Info from $URL: visible info'.PHP_EOL,
$io->getOutput()
);
} }
} }