Index: tests/standalone/io/socket_invalid_arguments_test.dart |
diff --git a/tests/standalone/io/socket_invalid_arguments_test.dart b/tests/standalone/io/socket_invalid_arguments_test.dart |
index e3b8714b1b1a5803717a302a00fdd680bf8271ec..24025aeb87db7e380e054255b348c1185d4cffb7 100644 |
--- a/tests/standalone/io/socket_invalid_arguments_test.dart |
+++ b/tests/standalone/io/socket_invalid_arguments_test.dart |
@@ -20,7 +20,7 @@ class NotAList { |
testSocketCreation(host, port) { |
Socket.connect(host, port) |
.then((socket) => Expect.fail("Shouldn't get connected")) |
- .catchError((e) => null, test: (e) => e is SocketIOException) |
+ .catchError((e) => null, test: (e) => e is SocketException) |
.catchError((e) => null, test: (e) => e is ArgumentError); |
} |