Index: tests/standalone/io/secure_no_builtin_roots_database_test.dart |
diff --git a/tests/standalone/io/secure_no_builtin_roots_database_test.dart b/tests/standalone/io/secure_no_builtin_roots_database_test.dart |
index 078ba706b10f3587dcfe7b24bcb780d7ee86eacb..8c647d06913a8228515f37a657026c644cbe4eac 100644 |
--- a/tests/standalone/io/secure_no_builtin_roots_database_test.dart |
+++ b/tests/standalone/io/secure_no_builtin_roots_database_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(); |
}); |