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

Unified Diff: tests/standalone/io/io_sink_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
Index: tests/standalone/io/io_sink_test.dart
diff --git a/tests/standalone/io/io_sink_test.dart b/tests/standalone/io/io_sink_test.dart
index 1c964486f7d515f3588c064e98595f094e6b8753..de830442e394cb7a0494d9df4e47933af4d04913 100644
--- a/tests/standalone/io/io_sink_test.dart
+++ b/tests/standalone/io/io_sink_test.dart
@@ -65,7 +65,7 @@ void testAddClose() {
void testAddStreamClose() {
{
var sink = new IOSink(new TestConsumer([0]));
- var controller = new StreamController();
+ var controller = new StreamController(sync: true);
sink.addStream(controller.stream)
.then((_) {
sink.close();
@@ -75,7 +75,7 @@ void testAddStreamClose() {
}
{
var sink = new IOSink(new TestConsumer([0, 1, 2]));
- var controller = new StreamController();
+ var controller = new StreamController(sync: true);
sink.addStream(controller.stream)
.then((_) {
sink.close();
@@ -90,7 +90,7 @@ void testAddStreamClose() {
void testAddStreamAddClose() {
{
var sink = new IOSink(new TestConsumer([0, 1]));
- var controller = new StreamController();
+ var controller = new StreamController(sync: true);
sink.addStream(controller.stream)
.then((_) {
sink.add([1]);
« no previous file with comments | « tests/standalone/io/http_server_response_test.dart ('k') | tests/standalone/io/mime_multipart_parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698