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

Unified Diff: test/observe_test.dart

Issue 55143003: webui fixes for 0.8.9 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: 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
Index: test/observe_test.dart
diff --git a/test/observe_test.dart b/test/observe_test.dart
index a4ccb40b33a4274d16e7f06701941a4887d043e1..194aca521688a29c8c1e6a413743d17d3f6e30a5 100644
--- a/test/observe_test.dart
+++ b/test/observe_test.dart
@@ -132,7 +132,7 @@ main() {
// This will not affect the other observer, so it still gets the event.
unobserve();
- runAsync(() => t.value = 777);
+ scheduleMicrotask(() => t.value = 777);
}));
int count = 0;
observe(() => t.value + 1000, expectAsync1((n) {
« pubspec.yaml ('K') | « test/html5_utils_test.dart ('k') | test/paths_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698