Index: pkg/polymer/test/take_attributes_test.dart |
diff --git a/pkg/polymer/test/take_attributes_test.dart b/pkg/polymer/test/take_attributes_test.dart |
index c77a1a4e4c5b6cecdd022958cda87d31c60ef80a..da6d61b49e0b2d49637865b3db4ac4b04ad1f924 100644 |
--- a/pkg/polymer/test/take_attributes_test.dart |
+++ b/pkg/polymer/test/take_attributes_test.dart |
@@ -49,8 +49,7 @@ class XObj extends PolymerElement { |
@observable var values = {}; |
} |
-@initMethod |
-main() { |
+main() => initPolymer().run(() { |
useHtmlConfiguration(); |
setUp(() => Polymer.onReady); |
@@ -119,4 +118,4 @@ main() { |
expect(queryXTag("#obj3").values, { 'movie': 'Buckaroo Banzai', |
'DOB': '07/31/1978' }); |
}); |
-} |
+}); |