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

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

Issue 16125005: Make new StreamController be async by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 7 years, 7 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_10026_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/stdout_stderr_test.dart
diff --git a/tests/standalone/io/stdout_stderr_test.dart b/tests/standalone/io/stdout_stderr_test.dart
index ccd1550435184701174bd57c829220f6dd7eb6b2..1f7ac91bf27613251e90b7356a61cea1ceeb5053 100644
--- a/tests/standalone/io/stdout_stderr_test.dart
+++ b/tests/standalone/io/stdout_stderr_test.dart
@@ -16,14 +16,14 @@ callIOSink(IOSink sink) {
sink.writeCharCode(72);
sink.add([101, 108, 108, 111, 10]);
- var controller = new StreamController();
+ var controller = new StreamController(sync: true);
var future = sink.addStream(controller.stream);
controller.add([72, 101, 108]);
controller.add([108, 111, 10]);
controller.close();
future.then((_) {
- controller = new StreamController();
+ controller = new StreamController(sync: true);
controller.stream.pipe(sink);
controller.add([72, 101, 108]);
controller.add([108, 111, 10]);
« no previous file with comments | « tests/standalone/io/regress_10026_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698