Index: tests/standalone/io/http_head_test.dart |
diff --git a/tests/standalone/io/http_head_test.dart b/tests/standalone/io/http_head_test.dart |
index a1f91ec8d495623f55946fd55336d84abab5413b..7880e2d3278ca7fb5a7a0f6113809df2669b9b30 100644 |
--- a/tests/standalone/io/http_head_test.dart |
+++ b/tests/standalone/io/http_head_test.dart |
@@ -18,7 +18,7 @@ void testHEAD(int totalConnections) { |
(request) => request.path == "/test200", |
(HttpRequest request, HttpResponse response) { |
response.contentLength = 200; |
- List<int> data = new List<int>(200); |
+ List<int> data = new List<int>.fixedLength(200); |
response.outputStream.write(data); |
response.outputStream.close(); |
}); |