Index: tests/standalone/io/file_output_stream_test.dart |
diff --git a/tests/standalone/io/file_output_stream_test.dart b/tests/standalone/io/file_output_stream_test.dart |
index 88b314cb1fd3f0d5388986e7f7c2d11c54114703..e700c5c645f99f4f78feeb4432395d174869b86e 100644 |
--- a/tests/standalone/io/file_output_stream_test.dart |
+++ b/tests/standalone/io/file_output_stream_test.dart |
@@ -55,7 +55,7 @@ void testOutputStreamNoPendingWrite() { |
stream.close(); |
} |
stream.onClosed = () { |
- List buffer = new List<int>(total); |
+ List buffer = new List<int>.fixedLength(total); |
File fileSync = new File(fileName); |
var openedFile = fileSync.openSync(); |
openedFile.readListSync(buffer, 0, total); |