Index: tests/standalone/io/dart_std_io_pipe_test.dart |
diff --git a/tests/standalone/io/dart_std_io_pipe_test.dart b/tests/standalone/io/dart_std_io_pipe_test.dart |
index a4d4f246d100442ada229fccd8d2c718cb4ec368..1b94fb42ca8bfd1156f8f3a1d3404f9349a784aa 100644 |
--- a/tests/standalone/io/dart_std_io_pipe_test.dart |
+++ b/tests/standalone/io/dart_std_io_pipe_test.dart |
@@ -23,7 +23,7 @@ void checkFileEmpty(String fileName) { |
void checkFileContent(String fileName, String content) { |
RandomAccessFile pipeOut = new File(fileName).openSync(); |
int length = pipeOut.lengthSync(); |
- List data = new List<int>.fixedLength(length); |
+ List data = new List<int>(length); |
pipeOut.readListSync(data, 0, length); |
Expect.equals(content, new String.fromCharCodes(data)); |
pipeOut.closeSync(); |