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:
parent
7d4d4622ab
commit
d3f1c664d4
4 changed files with 53 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue