| Index: samples/third_party/todomvc/test/listorder_test.dart
|
| diff --git a/samples/third_party/todomvc/test/listorder_test.dart b/samples/third_party/todomvc/test/listorder_test.dart
|
| index 0d70dfadf4c516ad6189dd816cca576ce17434cf..acd52e42d178ac8581c8fcd13e2cb4d55e38613d 100644
|
| --- a/samples/third_party/todomvc/test/listorder_test.dart
|
| +++ b/samples/third_party/todomvc/test/listorder_test.dart
|
| @@ -15,12 +15,13 @@ import '../web/model.dart';
|
| * switches from back and forth between "Active" and "All". This will make some
|
| * nodes to be hidden and readded to the page.
|
| */
|
| -@initMethod
|
| -_main() {
|
| +main() {
|
| + initPolymer();
|
| useHtmlConfiguration();
|
|
|
| final root = query('todo-app').shadowRoot;
|
|
|
| + wrapMicrotask((){
|
| setUp(() => Polymer.onReady);
|
|
|
| test('programmatically add items to model', () {
|
| @@ -57,4 +58,5 @@ _main() {
|
| performMicrotaskCheckpoint();
|
| expect(root.queryAll('#todo-list li[is=todo-row]').length, 3);
|
| });
|
| + })();
|
| }
|
|
|