1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Avoid formatting output from external processes, fixes #8524

This commit is contained in:
Jordi Boggiano 2020-01-13 13:30:46 +01:00
parent 7d4d4622ab
commit d3f1c664d4
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
4 changed files with 53 additions and 5 deletions

View file

@ -111,6 +111,6 @@ class ProcessExecutorTest extends TestCase
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput([]), $output, new HelperSet([])));
$process->execute('echo \'<error>foo</error>\'');
$this->assertSame('<error>foo</error>', $output->fetch());
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
}
}