| 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 2ac81618d66a582b632ef7abf3871ecfd1e99c3a..4226b80b8d983832ee555dd7a9ace6130b8b405d 100644
|
| --- a/tests/standalone/io/raw_secure_server_socket_test.dart
|
| +++ b/tests/standalone/io/raw_secure_server_socket_test.dart
|
| @@ -53,15 +53,14 @@ void testInvalidBind() {
|
| RawSecureServerSocket.bind(HOST_NAME,
|
| s.port,
|
| CERTIFICATE).then((t) {
|
| - Expect.fail("Multiple listens on same port");
|
| s.close();
|
| t.close();
|
| - port.toSendPort().send(1);
|
| + Expect.fail("Multiple listens on same port");
|
| })
|
| .catchError((error) {
|
| Expect.isTrue(error is SocketException);
|
| s.close();
|
| - asyncEnd();
|
| + asyncEnd();
|
| });
|
| });
|
| }
|
|
|