Index: tests/standalone/io/http_keep_alive_test.dart |
diff --git a/tests/standalone/io/http_keep_alive_test.dart b/tests/standalone/io/http_keep_alive_test.dart |
index 70b9021269fd9b02c5223226eb71ece28b111cea..c89b4eef96476a766c9023519fe46e709a9e4ae3 100644 |
--- a/tests/standalone/io/http_keep_alive_test.dart |
+++ b/tests/standalone/io/http_keep_alive_test.dart |
@@ -26,7 +26,7 @@ Future<HttpServer> startServer() { |
server.listen((request) { |
bool chunked = request.queryParameters["chunked"] == "true"; |
int length = int.parse(request.queryParameters["length"]); |
- var buffer = new List.fixedLength(length, fill: 0); |
+ var buffer = new List<int>.filled(length, 0); |
if (!chunked) request.response.contentLength = length; |
request.response.add(buffer); |
request.response.close(); |