Index: tests/standalone/io/http_compression_test.dart |
diff --git a/tests/standalone/io/http_compression_test.dart b/tests/standalone/io/http_compression_test.dart |
index 6042377c7f007e37288d5c2dfb41d064e90eaa8c..8bec0a2e117c4da4b41e9403403b7a02951a537f 100644 |
--- a/tests/standalone/io/http_compression_test.dart |
+++ b/tests/standalone/io/http_compression_test.dart |
@@ -15,7 +15,7 @@ void testServerCompress() { |
void test(List<int> data) { |
HttpServer.bind().then((server) { |
server.listen((request) { |
- request.response.writeBytes(data); |
+ request.response.add(data); |
request.response.close(); |
}); |
var client = new HttpClient(); |