Index: tests/standalone/io/socket_test.dart |
diff --git a/tests/standalone/io/socket_test.dart b/tests/standalone/io/socket_test.dart |
index e9f2077990cd6c7e8e385bb153f36ce52348cfc0..32e77425d5c26d8b287167ea23951d881983d4dc 100644 |
--- a/tests/standalone/io/socket_test.dart |
+++ b/tests/standalone/io/socket_test.dart |
@@ -35,7 +35,7 @@ void testInvalidBind() { |
ServerSocket.bind("ko.faar.__hest__", 0) |
.then((_) { Expect.fail("Failure expected"); } ) |
.catchError((error) { |
- Expect.isTrue(error is SocketIOException); |
+ Expect.isTrue(error is SocketException); |
port.toSendPort().send(1); |
}); |
@@ -43,7 +43,7 @@ void testInvalidBind() { |
ServerSocket.bind("8.8.8.8", 0) |
.then((_) { Expect.fail("Failure expected"); } ) |
.catchError((error) { |
- Expect.isTrue(error is SocketIOException); |
+ Expect.isTrue(error is SocketException); |
port.toSendPort().send(1); |
}); |
@@ -61,7 +61,7 @@ void testInvalidBind() { |
}) |
.catchError((error) { |
Expect.notEquals('windows', Platform.operatingSystem); |
- Expect.isTrue(error is SocketIOException); |
+ Expect.isTrue(error is SocketException); |
port.toSendPort().send(1); |
}); |
}); |