Index: pkg/polymer/test/bind_test.dart |
diff --git a/pkg/polymer/test/bind_test.dart b/pkg/polymer/test/bind_test.dart |
index 512575acecee2fc3374fda1527be453dfe47749d..b3a80c4278e165d0503e9bffd3e8525516fa41de 100644 |
--- a/pkg/polymer/test/bind_test.dart |
+++ b/pkg/polymer/test/bind_test.dart |
@@ -43,11 +43,10 @@ class XFoo extends PolymerElement { |
} |
} |
-@initMethod |
-main() { |
+main() => initPolymer().run(() { |
useHtmlConfiguration(); |
setUp(() => Polymer.onReady); |
test('ready called', () => (querySelector('x-foo') as XFoo).onTestDone); |
-} |
+}); |