Index: tests/standalone/io/http_server_response_test.dart |
diff --git a/tests/standalone/io/http_server_response_test.dart b/tests/standalone/io/http_server_response_test.dart |
index c04f2c225581124143e0b2cc740aa6a87bd23d88..ac019c81125947857af19705d8dbf1f35515f3c4 100644 |
--- a/tests/standalone/io/http_server_response_test.dart |
+++ b/tests/standalone/io/http_server_response_test.dart |
@@ -33,7 +33,7 @@ void testServerRequest(void handler(server, request), {int bytes}) { |
client.close(); |
}, |
onError: (error) { |
- Expect.isTrue(error.error is HttpParserException); |
+ Expect.isTrue(error is HttpParserException); |
}); |
}) |
.catchError((error) { |