Index: utils/tests/pub/curl_client_test.dart |
diff --git a/utils/tests/pub/curl_client_test.dart b/utils/tests/pub/curl_client_test.dart |
index 372a331693d0f222e7986134905beb0365808979..f13c7d43a51a482cc4bcaabd849a4ed33bdf884e 100644 |
--- a/utils/tests/pub/curl_client_test.dart |
+++ b/utils/tests/pub/curl_client_test.dart |
@@ -87,7 +87,7 @@ void startServer() { |
}); |
_server.defaultRequestHandler = (request, response) { |
- consumeInputStream(request.inputStream).then((requestBodyBytes) { |
+ wrapInputStream(request.inputStream).toBytes().then((requestBodyBytes) { |
response.statusCode = 200; |
response.headers.contentType = new ContentType("application", "json"); |