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