Index: samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart |
index 277001ef65725b29295937b02a343fea22f338c7..79f31de0a59cb9cc304c45112fee3bf9902d3c67 100644 |
--- a/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart |
+++ b/samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart |
@@ -52,7 +52,7 @@ void main() { |
for (int j = 0; j < nl; j++) { |
Node cur = nodes[j]; |
while (cur !== null) { |
- cur = cur.nodes.last(); |
+ cur = cur.nodes.last; |
} |
ret = cur; |
} |
@@ -69,7 +69,7 @@ void main() { |
}) |
.test('previousSibling', () { |
for (int i = 0; i < num * 2; i++) { |
- Node cur = document.body.nodes.last(); |
+ Node cur = document.body.nodes.last; |
while (cur !== null) { |
cur = cur.previousNode; |
} |