Fixed typos

This commit is contained in:
Marc Philip Scholten 2013-12-28 18:16:09 +01:00
parent 3d5262156d
commit 19be15c4c4
2 changed files with 5 additions and 5 deletions

View File

@ -65,13 +65,13 @@ class Net_SSH2Test extends PhpseclibTestCase
public function testGenerateIdentifier($expected, array $requiredExtensions) public function testGenerateIdentifier($expected, array $requiredExtensions)
{ {
$notAllowed = array('gmp', 'bcmath', 'mcrypt', 'gmp'); $notAllowed = array('gmp', 'bcmath', 'mcrypt', 'gmp');
foreach($notAllowed as $nowAllowedExtension) { foreach($notAllowed as $notAllowedExtension) {
if(in_array($nowAllowedExtension, $requiredExtensions)) { if(in_array($notAllowedExtension, $requiredExtensions)) {
continue; continue;
} }
if(extension_loaded($nowAllowedExtension)) { if(extension_loaded($notAllowedExtension)) {
$this->markTestSkipped('Extension ' . $nowAllowedExtension . ' is not allowed for this data-set'); $this->markTestSkipped('Extension ' . $notAllowedExtension . ' is not allowed for this data-set');
} }
} }