| Index: tests/standalone/io/raw_socket_test.dart
|
| diff --git a/tests/standalone/io/raw_socket_test.dart b/tests/standalone/io/raw_socket_test.dart
|
| index ed5c494697b04ad160045c9ff8afdac4e0ff321b..609b96fdabaca5ce0e6cc6c784afd6e0dba88bf2 100644
|
| --- a/tests/standalone/io/raw_socket_test.dart
|
| +++ b/tests/standalone/io/raw_socket_test.dart
|
| @@ -35,7 +35,7 @@ void testInvalidBind() {
|
| RawServerSocket.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() {
|
| RawServerSocket.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);
|
| });
|
| });
|
|
|