| Index: samples/third_party/todomvc/test/markdone_test.dart
|
| diff --git a/samples/third_party/todomvc/test/markdone_test.dart b/samples/third_party/todomvc/test/markdone_test.dart
|
| index e7a7989def3e3d9f9f87275274d816829b74d957..e84dc71c22f8619132fbd6911b291704adca4b5d 100644
|
| --- a/samples/third_party/todomvc/test/markdone_test.dart
|
| +++ b/samples/third_party/todomvc/test/markdone_test.dart
|
| @@ -6,7 +6,6 @@ library todomvc.test.markdone_test;
|
|
|
| import 'dart:async';
|
| import 'dart:html';
|
| -import 'package:polymer/platform.dart' show endOfMicrotask;
|
| import 'package:polymer/polymer.dart';
|
| import 'package:unittest/unittest.dart';
|
| import 'package:unittest/html_config.dart';
|
| @@ -60,7 +59,7 @@ main() {
|
| appModel.todos.add(new Todo('three (checked)')..done = true);
|
| appModel.todos.add(new Todo('four (checked)'));
|
|
|
| - endOfMicrotask(expectAsync0(() {
|
| + return new Future(() {
|
| var body = query('body');
|
|
|
| var label = findWithText(body, 'four (checked)');
|
| @@ -74,6 +73,6 @@ main() {
|
|
|
| node.dispatchEvent(new MouseEvent('click', detail: 1));
|
| expect(node.checked, true, reason: 'element is checked');
|
| - }));
|
| + });
|
| });
|
| }
|
|
|