Index: pkg/polymer/test/entered_view_test.dart |
diff --git a/pkg/polymer/test/entered_view_test.dart b/pkg/polymer/test/entered_view_test.dart |
index c9f7b34341080f5d4290e10df19c4071d3c6ab86..632ea70ccf01792f0b0a43ba5e8a57acb8e2e6ef 100644 |
--- a/pkg/polymer/test/entered_view_test.dart |
+++ b/pkg/polymer/test/entered_view_test.dart |
@@ -40,13 +40,13 @@ _tests() { |
setUp(() => Polymer.onReady); |
test('element created properly', () { |
- XOuter outer = query('x-outer'); |
+ XOuter outer = querySelector('x-outer'); |
outer.expand = true; |
return outer.onMutation(outer.shadowRoot).then((_) { |
// Element upgrade is also using mutation observers. Wait another tick so |
// it goes before we do. |
return new Future(() { |
- XInner inner = outer.shadowRoot.query('x-inner'); |
+ XInner inner = outer.shadowRoot.querySelector('x-inner'); |
expect(inner.enteredCount, 1, reason: 'enteredView should be called'); |
}); |
}); |