| Index: test/data/input/iterate_attribute_test.html
|
| diff --git a/test/data/input/iterate_attribute_test.html b/test/data/input/iterate_attribute_test.html
|
| index 6e70de18423c4b67ce12221f0d27edfc054b5b6c..07f279efcbcf870ad8d01a2ed8f086b34dc656e0 100644
|
| --- a/test/data/input/iterate_attribute_test.html
|
| +++ b/test/data/input/iterate_attribute_test.html
|
| @@ -18,19 +18,18 @@ BSD-style license that can be found in the LICENSE file.
|
| <script type="application/dart">
|
| import 'dart:html';
|
| import 'package:unittest/unittest.dart';
|
| - import 'package:web_ui/watcher.dart';
|
| + import 'package:web_ui/observe.dart';
|
|
|
| - var list = <String>['a', 'b', 'c', 'e'];
|
| + @observable var list = toObservable(['a', 'b', 'c', 'e']);
|
| main() {
|
| window.setTimeout(() {
|
| expect(document.query("#test").innerHtml, equalsIgnoringWhitespace(
|
| '<span>a</span> <span>b</span> <span>c</span> <span>e</span>'));
|
| list[3] = 'd';
|
| - dispatch();
|
| window.setTimeout(() {
|
| expect(document.query("#test").innerHtml, equalsIgnoringWhitespace(
|
| '<span>a</span> <span>b</span> <span>c</span> <span>d</span>'));
|
| - window.setTimeout(() => window.postMessage('done', '*'), 0);
|
| + window.setImmediate(() => window.postMessage('done', '*'));
|
| }, 0);
|
| }, 0);
|
| }
|
|
|