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

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

Issue 26151002: Rename runAsync to scheduleMicrotask. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add test. Created 7 years, 2 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/lib/async/schedule_microtask_test.dart ('k') | tests/lib/async/zone_debug_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/stream_event_transformed_test.dart
diff --git a/tests/lib/async/stream_event_transformed_test.dart b/tests/lib/async/stream_event_transformed_test.dart
index 1978bc383bd51a3089e86fe0262d830f944c9d8e..6904188c34685b14d0fe6dce0dee788b43873fc4 100644
--- a/tests/lib/async/stream_event_transformed_test.dart
+++ b/tests/lib/async/stream_event_transformed_test.dart
@@ -155,7 +155,7 @@ main() {
completer3.complete("future3");
Timer.run(() {
completer1.complete("future1");
- runAsync(closeCompleter.complete);
+ scheduleMicrotask(closeCompleter.complete);
});
});
});
@@ -212,7 +212,7 @@ main() {
subscription.pause();
completer1.complete("future1");
subscription.resume();
- runAsync(closeCompleter.complete);
+ scheduleMicrotask(closeCompleter.complete);
});
});
});
« no previous file with comments | « tests/lib/async/schedule_microtask_test.dart ('k') | tests/lib/async/zone_debug_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698