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

Unified Diff: tests/html/streams_test.dart

Issue 14930007: Fix streams_test. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/streams_test.dart
diff --git a/tests/html/streams_test.dart b/tests/html/streams_test.dart
index b0feb5e96bf6111e924861e34b67462430abb527..7a3b2ff831fd0470dfc0b4c1c48bbf8e11a921a9 100644
--- a/tests/html/streams_test.dart
+++ b/tests/html/streams_test.dart
@@ -112,7 +112,7 @@ main() {
helper.pulse();
expect(callCount, 2);
- var completer = new Completer<int>();
+ var completer = new Completer<int>.sync();
subscription.pause(completer.future);
helper.pulse();
expect(callCount, 2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698