Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: pkg/polymer/test/publish_inherited_properties_test.dart

Issue 50703009: polymer warning clean (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: samples.status Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/polymer/test/publish_inherited_properties_test.dart
diff --git a/pkg/polymer/test/publish_inherited_properties_test.dart b/pkg/polymer/test/publish_inherited_properties_test.dart
index 878976fac623f78c85e1d9485ba8b7eecd9bcc34..7eec80a0d1fce2a33e72f9c17e44c37d9c79faba 100644
--- a/pkg/polymer/test/publish_inherited_properties_test.dart
+++ b/pkg/polymer/test/publish_inherited_properties_test.dart
@@ -53,8 +53,8 @@ main() {
setUp(() => Polymer.onReady);
test('published properties', () {
- published(tag) =>
- query('polymer-element[name=$tag]').publishedProperties;
+ published(tag) => (query('polymer-element[name=$tag]')
+ as PolymerDeclaration).publishedProperties;
expect(published('x-zot'), [#Foo, #Bar, #zot, #m]);
expect(published('x-squid'), [#Foo, #Bar, #zot, #m, #baz, #squid]);

Powered by Google App Engine
This is Rietveld 408576698