Explorar o código

fix windows build

Ion Bazan %!s(int64=5) %!d(string=hai) anos
pai
achega
a9bace37f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/Composer/Test/Util/ProcessExecutorTest.php

+ 1 - 1
tests/Composer/Test/Util/ProcessExecutorTest.php

@@ -110,7 +110,7 @@ class ProcessExecutorTest extends TestCase
         $output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
         $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());
     }
 }