Index: tests/standalone/io/http_read_test.dart |
diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart |
index 3a62e6a47b1cbcc22a689d5199350254d44d4623..bb8a87a4f39c90fa7da2948e90fedaf7fad183ea 100644 |
--- a/tests/standalone/io/http_read_test.dart |
+++ b/tests/standalone/io/http_read_test.dart |
@@ -182,7 +182,7 @@ void testReadInto(bool chunkedEncoding) { |
InputStream stream = response.inputStream; |
List<int> body = new List<int>(); |
stream.onData = () { |
- List tmp = new List(3); |
+ List tmp = new List.fixedLength(3); |
int bytes = stream.readInto(tmp); |
body.addAll(tmp.getRange(0, bytes)); |
}; |