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

Unified Diff: pkg/polymer/test/publish_attributes_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_attributes_test.dart
diff --git a/pkg/polymer/test/publish_attributes_test.dart b/pkg/polymer/test/publish_attributes_test.dart
index c6ea12ab837635aa7b7a3a8f23fddf6b66a6d09c..b22132e3cc26060dd81d38bc1d761fdfb790ae43 100644
--- a/pkg/polymer/test/publish_attributes_test.dart
+++ b/pkg/polymer/test/publish_attributes_test.dart
@@ -48,8 +48,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-foo'), [#Foo, #baz]);
expect(published('x-bar'), [#Foo, #baz, #Bar]);

Powered by Google App Engine
This is Rietveld 408576698