Index: samples/third_party/dromaeo/tests/dom-query-html.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-query-html.dart b/samples/third_party/dromaeo/tests/dom-query-html.dart |
index 85d1654e62f29c5c1c81fe803dbf58e5c74a7763..15a20ac1ab98d3c9ade75c12b5f38dcc04f551e8 100644 |
--- a/samples/third_party/dromaeo/tests/dom-query-html.dart |
+++ b/samples/third_party/dromaeo/tests/dom-query-html.dart |
@@ -52,25 +52,25 @@ void main() { |
.test('getElementsByTagName(div)', () { |
for (int i = 0; i < num; i++) { |
List<Element> elems = document.$dom_getElementsByTagName('div'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.last.$dom_nodeType; |
} |
}) |
.test('getElementsByTagName(p)', () { |
for (int i = 0; i < num; i++) { |
List<Element> elems = document.$dom_getElementsByTagName('p'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.last.$dom_nodeType; |
} |
}) |
.test('getElementsByTagName(a)', () { |
for (int i = 0; i < num; i++) { |
List<Element> elems = document.$dom_getElementsByTagName('a'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.last.$dom_nodeType; |
} |
}) |
.test('getElementsByTagName(*)', () { |
for (int i = 0; i < num; i++) { |
List<Element> elems = document.$dom_getElementsByTagName('*'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.last.$dom_nodeType; |
} |
}) |
.test('getElementsByTagName (not in document)', () { |