Index: test/data/input/text_top_level2_test.html |
diff --git a/test/data/input/text_top_level2_test.html b/test/data/input/text_top_level2_test.html |
index a1d8cf0c5e1421800b6396b1943f27433b0674d8..3d8a70ed961e619165d168b191372067761b58c9 100644 |
--- a/test/data/input/text_top_level2_test.html |
+++ b/test/data/input/text_top_level2_test.html |
@@ -22,14 +22,14 @@ BSD-style license that can be found in the LICENSE file. |
expect to see 'two': <x-var></x-var> |
<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> |