Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1335)

Unified Diff: tests/standalone/io/regress_7191_test.dart

Issue 12504006: Make IOSink implement StringSink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed second round of review comments Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/regress_6521_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_7191_test.dart
diff --git a/tests/standalone/io/regress_7191_test.dart b/tests/standalone/io/regress_7191_test.dart
index fa9253898117c75c5cff4e932010491b8a0137c2..3d46cfa2baa49266966ab892ae254c67fee7cd71 100644
--- a/tests/standalone/io/regress_7191_test.dart
+++ b/tests/standalone/io/regress_7191_test.dart
@@ -19,9 +19,9 @@ main() {
var scriptDir = new Path(options.script).directoryPath;
var script = scriptDir.append('regress_7191_script.dart').toNativePath();
Process.start(executable, [script]).then((process) {
- process.stdin.add([0]);
+ process.stdin.writeBytes([0]);
process.stdout.listen((_) { },
- onDone: () { process.stdin.add([0]); });
+ onDone: () { process.stdin.writeBytes([0]); });
process.stderr.listen((_) { });
process.exitCode.then((exitCode) => port.close());
});
« no previous file with comments | « tests/standalone/io/regress_6521_test.dart ('k') | tests/standalone/io/regress_8828_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698