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

Unified Diff: tests/lib/async/stream_event_transform_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: 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/lib/async/stream_event_transform_test.dart
diff --git a/tests/lib/async/stream_event_transform_test.dart b/tests/lib/async/stream_event_transform_test.dart
index 87f114c8a43348dd06a8a738702535418d998f95..c10b8f5f073dc5045d17683f8e1d9ffae1b37e39 100644
--- a/tests/lib/async/stream_event_transform_test.dart
+++ b/tests/lib/async/stream_event_transform_test.dart
@@ -46,7 +46,7 @@ class EventTransformer extends StreamEventTransformer<int,int> {
main() {
{
- StreamController c = new StreamController();
+ StreamController c = new StreamController(sync: true);
Events expected = new Events()..error("0")..add(1)
..error("1")..add(2)
..add(3)..error("4")
@@ -61,7 +61,7 @@ main() {
}
{
- StreamController c = new StreamController();
+ StreamController c = new StreamController(sync: true);
Events expected = new Events()..error("0")..add(1)
..error("1")..add(2)
..add(3)..error("4")

Powered by Google App Engine
This is Rietveld 408576698