Index: tests/standalone/io/socket_exception_test.dart |
diff --git a/tests/standalone/io/socket_exception_test.dart b/tests/standalone/io/socket_exception_test.dart |
index c82f3fbb314809d508e10c64442fdef122510977..81c1b14e85e6ed3556dcbcde0398892a65e0c0bc 100644 |
--- a/tests/standalone/io/socket_exception_test.dart |
+++ b/tests/standalone/io/socket_exception_test.dart |
@@ -164,7 +164,7 @@ class SocketExceptionTest { |
client.listen( |
(data) => Expect.fail("Unexpected data"), |
onError: (error) { |
- Expect.isTrue(error.error is SocketIOException); |
+ Expect.isTrue(error is SocketIOException); |
errors++; |
}, |
onDone: () { |
@@ -184,7 +184,7 @@ class SocketExceptionTest { |
Expect.fail("Expected error"); |
}, |
onError: (error) { |
- Expect.isTrue(error.error is SocketIOException); |
+ Expect.isTrue(error is SocketIOException); |
port.close(); |
}); |
}); |