Merge remote branch 'pborreli/process-typo'

* pborreli/process-typo:
  [Process] Fixed namespace typo and windows test
This commit is contained in:
Fabien Potencier 2011-05-23 07:57:42 +02:00
commit 4a801b5cd5
2 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Process;
use Symfony\Component\Process\Exception\RuntimeException;
/**
* An executable finder specifically designed for the PHP executable.
*

View File

@ -48,7 +48,9 @@ class PhpExecutableFinderTest extends \PHPUnit_Framework_TestCase
$current = $f->find();
//TODO maybe php executable is custom or even windows
$this->assertEquals($f->find(), PHP_BINDIR.DIRECTORY_SEPARATOR.'php', '::find() returns the executable php with suffixes');
if (false === strstr(PHP_OS, 'WIN')) {
$this->assertEquals($current, PHP_BINDIR.DIRECTORY_SEPARATOR.'php', '::find() returns the executable php with suffixes');
}
}
/**