Fix 5.3 build
parent
d3f1c664d4
commit
4e667f891b
|
@ -108,7 +108,7 @@ class ProcessExecutorTest extends TestCase
|
||||||
public function testConsoleIODoesNotFormatSymfonyConsoleStyle()
|
public function testConsoleIODoesNotFormatSymfonyConsoleStyle()
|
||||||
{
|
{
|
||||||
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
||||||
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput([]), $output, new HelperSet([])));
|
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput(array()), $output, new HelperSet(array())));
|
||||||
|
|
||||||
$process->execute('echo \'<error>foo</error>\'');
|
$process->execute('echo \'<error>foo</error>\'');
|
||||||
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
|
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
|
||||||
|
|
Loading…
Reference in New Issue