mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 19:40:28 +00:00
Fixed typos
This commit is contained in:
parent
3d5262156d
commit
19be15c4c4
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user