Index: tests/standalone/io/secure_no_builtin_roots_test.dart |
diff --git a/tests/standalone/io/secure_no_builtin_roots_test.dart b/tests/standalone/io/secure_no_builtin_roots_test.dart |
index a93404c2c767d4144dc611456c78faefb59bae78..c411e62c03ccf95c6d3ee8abec70f3631f1b9477 100644 |
--- a/tests/standalone/io/secure_no_builtin_roots_test.dart |
+++ b/tests/standalone/io/secure_no_builtin_roots_test.dart |
@@ -15,8 +15,7 @@ void testGoogleUrl() { |
.then((request) => request.close()) |
.then((response) => Expect.fail("Unexpected successful connection")) |
.catchError((error) { |
- Expect.isTrue(error is AsyncError); |
- Expect.isTrue(error.error is SocketIOException); |
+ Expect.isTrue(error is SocketIOException); |
keepAlive.close(); |
client.close(); |
}); |