Index: tests/standalone/io/http_close_test.dart |
diff --git a/tests/standalone/io/http_close_test.dart b/tests/standalone/io/http_close_test.dart |
index f410f5003385fdeaac57a68560cab815a6fa9162..cc9fd62adf2c50d1156219197681f5cd862b22c7 100644 |
--- a/tests/standalone/io/http_close_test.dart |
+++ b/tests/standalone/io/http_close_test.dart |
@@ -84,7 +84,7 @@ void testClientCloseSendingResponse(int connections) { |
} |
server.listen((request) { |
var timer = new Timer.periodic(const Duration(milliseconds: 20), (_) { |
- request.response.writeBytes(new Uint8List(16 * 1024)); |
+ request.response.add(new Uint8List(16 * 1024)); |
}); |
request.response.done |
.catchError((_) {}) |