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 215872ce5418620628c3a647577196c1f0b6eaf3..9325ceb553814ad0c80f8e5bb97ad8585281cbf5 100644 |
--- a/tests/standalone/io/http_head_test.dart |
+++ b/tests/standalone/io/http_head_test.dart |
@@ -13,7 +13,7 @@ void testHEAD(int totalConnections) { |
response.close(); |
} else if (request.uri.path == "/test200") { |
response.contentLength = 200; |
- List<int> data = new List<int>.fixedLength(200, fill: 0); |
+ List<int> data = new List<int>.filled(200, 0); |
response.add(data); |
response.close(); |
} else { |