| Index: test/data/input/if_attribute_test.html
|
| diff --git a/test/data/input/if_attribute_test.html b/test/data/input/if_attribute_test.html
|
| index 6b627c7d5a8768215362f5f96c889466dab589d9..5111bea4c06a7139edfa5b123cfb7bf03d69e225 100644
|
| --- a/test/data/input/if_attribute_test.html
|
| +++ b/test/data/input/if_attribute_test.html
|
| @@ -16,8 +16,8 @@ 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';
|
| - var x = 2;
|
| + import 'package:web_ui/observe.dart';
|
| + @observable var x = 2;
|
|
|
| main() {
|
| window.setTimeout(() {
|
| @@ -26,13 +26,12 @@ BSD-style license that can be found in the LICENSE file.
|
| expect(placeholder, isNotNull);
|
| expect(placeholder.style.display, equals('none'));
|
| x = 3;
|
| - dispatch();
|
| window.setTimeout(() {
|
| var div = document.query('#test');
|
| expect(div, isNotNull);
|
| expect(div.innerHtml, equals('3'));
|
| expect(div.previousNode, same(placeholder));
|
| - window.setTimeout(() => window.postMessage('done', '*'), 0);
|
| + window.setImmediate(() => window.postMessage('done', '*'));
|
| }, 0);
|
| }, 0);
|
| }
|
|
|