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 bdbffeb2ec8f775bfd421bd16fad4297b28c6514..04adbe35a4e5f9fb271f1b3a9ca94ea74f0eadf4 100644 |
--- a/tests/standalone/io/dart_std_io_pipe_test.dart |
+++ b/tests/standalone/io/dart_std_io_pipe_test.dart |
@@ -25,7 +25,7 @@ void checkFileContent(String fileName, String content) { |
RandomAccessFile pipeOut = new File(fileName).openSync(); |
int length = pipeOut.lengthSync(); |
List data = new List<int>(length); |
- pipeOut.readListSync(data, 0, length); |
+ pipeOut.readIntoSync(data, 0, length); |
Expect.equals(content, new String.fromCharCodes(data)); |
pipeOut.closeSync(); |
} |