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

Unified Diff: tests/lib/async/stream_controller_test.dart

Issue 304353016: Fix typo in _DoneStreamSubscription.asFuture. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « sdk/lib/async/stream_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/stream_controller_test.dart
diff --git a/tests/lib/async/stream_controller_test.dart b/tests/lib/async/stream_controller_test.dart
index 914d7ddb00f21758430dae2a985d7e9ca4504533..3407614088eca3d13e98b6e4a89b37dde2b67e73 100644
--- a/tests/lib/async/stream_controller_test.dart
+++ b/tests/lib/async/stream_controller_test.dart
@@ -609,6 +609,7 @@ void testBroadcastListenAfterClosePaused() {
sub.pause();
sub.pause();
new Timer(MS * 100, () {
+ sub.asFuture().whenComplete(() { Expect.fail("Bad complete"); });
sub.resume();
new Timer(MS * 100, () {
sub.onDone(asyncEnd);
@@ -646,6 +647,7 @@ void testAsBroadcastListenAfterClosePaused() {
sub.pause();
sub.pause();
new Timer(MS * 100, () {
+ sub.asFuture().whenComplete(() { Expect.fail("Bad complete"); });
sub.resume();
new Timer(MS * 100, () {
sub.onDone(asyncEnd);
« no previous file with comments | « sdk/lib/async/stream_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698