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 f31d18351038f7f789568f719269d11f38e943cb..307cec155724eb511b70d929f066206e263113c0 100644 |
--- a/tests/standalone/io/http_server_response_test.dart |
+++ b/tests/standalone/io/http_server_response_test.dart |
@@ -43,12 +43,12 @@ void testServerRequest(void handler(server, request), |
client.close(); |
}, |
onError: (error) { |
- Expect.isTrue(error is HttpParserException); |
+ Expect.isTrue(error is HttpException); |
}); |
}) |
.catchError((error) { |
client.close(); |
- }, test: (e) => e is HttpParserException); |
+ }, test: (e) => e is HttpException); |
}); |
} |