mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
fix windows build
This commit is contained in:
parent
58b34d13e8
commit
a9bace37f6
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class ProcessExecutorTest extends TestCase
|
||||||
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
||||||
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput(array()), $output, new HelperSet(array())));
|
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput(array()), $output, new HelperSet(array())));
|
||||||
|
|
||||||
$process->execute('echo \'<error>foo</error>\'');
|
$process->execute('php -r "echo \'<error>foo</error>\'.PHP_EOL;"');
|
||||||
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
|
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue