mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 17:57:12 +00:00
Merge branch '3.0'
This commit is contained in:
commit
f3cd784b9b
@ -14,8 +14,8 @@ class SFTPWrongServerTest extends TestCase
|
|||||||
} catch (UnableToConnectException $e) {
|
} catch (UnableToConnectException $e) {
|
||||||
// getaddrinfo message seems not to return stable text
|
// getaddrinfo message seems not to return stable text
|
||||||
static::assertSame(
|
static::assertSame(
|
||||||
'Cannot connect to dummy-server:22. Error 0. php_network_getaddresses: getaddrinfo failed:',
|
'Cannot connect to dummy-server:22. Error 0. php_network_getaddresses: getaddrinfo',
|
||||||
substr($e->getMessage(),0,89)
|
substr($e->getMessage(),0,81)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user