Index: test/data/input/text_top_level_test.html |
diff --git a/test/data/input/text_top_level_test.html b/test/data/input/text_top_level_test.html |
index 119a4062cf103d821f7a01c1264ea5676dd6450e..dbc333e5d4d40cc650c96eb7595b60d07d64529e 100644 |
--- a/test/data/input/text_top_level_test.html |
+++ b/test/data/input/text_top_level_test.html |
@@ -14,14 +14,14 @@ BSD-style license that can be found in the LICENSE file. |
expect to see 'two': {{topLevelVar}} |
<script type="application/dart"> |
import 'dart:html'; |
- import 'package:web_ui/watcher.dart'; |
+ import 'package:web_ui/observe.dart'; |
import 'common.dart'; |
main() { |
window.setTimeout(() { |
topLevelVar = 'two'; |
- dispatch(); |
- window.setTimeout(() => window.postMessage('done', '*'), 0); |
+ deliverChangesSync(); |
+ window.setImmediate(() => window.postMessage('done', '*')); |
}, 0); |
} |
</script> |