Index: tests/standalone/io/raw_socket_typed_data_test.dart |
diff --git a/tests/standalone/io/raw_socket_typed_data_test.dart b/tests/standalone/io/raw_socket_typed_data_test.dart |
index 61f9281c275a27c712706ca9bba581507d5defc3..e843aba104d82db693b52f5b1c884f5129814683 100644 |
--- a/tests/standalone/io/raw_socket_typed_data_test.dart |
+++ b/tests/standalone/io/raw_socket_typed_data_test.dart |
@@ -28,6 +28,8 @@ testOutOfRange() { |
client.close(); |
server.close(); |
break; |
+ case RawSocketEvent.CLOSED: |
+ break; |
default: throw "Unexpected event $event"; |
} |
}); |
@@ -71,6 +73,8 @@ testOutOfRange() { |
break; |
case RawSocketEvent.READ_CLOSED: |
break; |
+ case RawSocketEvent.CLOSED: |
+ break; |
default: throw "Unexpected event $event"; |
} |
}, |
@@ -155,6 +159,8 @@ void testSimpleReadWrite() { |
case RawSocketEvent.READ_CLOSED: |
server.close(); |
break; |
+ case RawSocketEvent.CLOSED: |
+ break; |
default: throw "Unexpected event $event"; |
} |
}); |
@@ -194,6 +200,8 @@ void testSimpleReadWrite() { |
verifyTestData(received); |
socket.close(); |
break; |
+ case RawSocketEvent.CLOSED: |
+ break; |
default: throw "Unexpected event $event"; |
} |
}, |