Index: tests/standalone/io/stream_pipe_test.dart |
diff --git a/tests/standalone/io/stream_pipe_test.dart b/tests/standalone/io/stream_pipe_test.dart |
index 27bbf99b7bca52c8045721fa49aa472abf10dbbf..c029e0b87a5e5097717bbab68b58a1f1c8ede267 100644 |
--- a/tests/standalone/io/stream_pipe_test.dart |
+++ b/tests/standalone/io/stream_pipe_test.dart |
@@ -101,7 +101,7 @@ testFileToFilePipe2() { |
dstFile.createSync(); |
var output = dstFile.openWrite(); |
output.writeStream(srcStream).then((_) { |
- output.writeBytes([32]); |
+ output.add([32]); |
output.close(); |
output.done.then((_) { |
var src = srcFile.openSync(); |