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 c029e0b87a5e5097717bbab68b58a1f1c8ede267..62a1ffdee4d14ff2b0f3457f106bffaeec825e53 100644 |
--- a/tests/standalone/io/stream_pipe_test.dart |
+++ b/tests/standalone/io/stream_pipe_test.dart |
@@ -100,7 +100,7 @@ testFileToFilePipe2() { |
var dstFile = new File(dstFileName); |
dstFile.createSync(); |
var output = dstFile.openWrite(); |
- output.writeStream(srcStream).then((_) { |
+ output.addStream(srcStream).then((_) { |
output.add([32]); |
output.close(); |
output.done.then((_) { |
@@ -143,9 +143,9 @@ testFileToFilePipe3() { |
var dstFile = new File(dstFileName); |
dstFile.createSync(); |
var output = dstFile.openWrite(); |
- output.writeStream(srcStream).then((_) { |
+ output.addStream(srcStream).then((_) { |
var srcStream2 = srcFile.openRead(); |
- output.writeStream(srcStream2).then((_) { |
+ output.addStream(srcStream2).then((_) { |
output.close(); |
output.done.then((_) { |
var src = srcFile.openSync(); |