mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +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)
|
||||
{
|
||||
$notAllowed = array('gmp', 'bcmath', 'mcrypt', 'gmp');
|
||||
foreach($notAllowed as $nowAllowedExtension) {
|
||||
if(in_array($nowAllowedExtension, $requiredExtensions)) {
|
||||
foreach($notAllowed as $notAllowedExtension) {
|
||||
if(in_array($notAllowedExtension, $requiredExtensions)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(extension_loaded($nowAllowedExtension)) {
|
||||
$this->markTestSkipped('Extension ' . $nowAllowedExtension . ' is not allowed for this data-set');
|
||||
if(extension_loaded($notAllowedExtension)) {
|
||||
$this->markTestSkipped('Extension ' . $notAllowedExtension . ' is not allowed for this data-set');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user