| Index: tests/standalone/io/raw_secure_server_socket_test.dart
|
| diff --git a/tests/standalone/io/raw_secure_server_socket_test.dart b/tests/standalone/io/raw_secure_server_socket_test.dart
|
| index 5756e11b701a6142b65f2a992da0d51dd9826677..16babdebb97dc593c5e11f18f2fdbd399b97593b 100644
|
| --- a/tests/standalone/io/raw_secure_server_socket_test.dart
|
| +++ b/tests/standalone/io/raw_secure_server_socket_test.dart
|
| @@ -87,7 +87,8 @@ void testSimpleConnectFail(String certificate, bool cancelOnError) {
|
| Expect.fail("No client connection expected.");
|
| })
|
| .catchError((error) {
|
| - Expect.isTrue(error is HandshakeException);
|
| + Expect.isTrue(error is SocketException ||
|
| + error is HandshakeException);
|
| });
|
| server.listen((serverEnd) {
|
| Expect.fail("No server connection expected.");
|
|
|