Index: samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart |
diff --git a/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart b/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart |
index fd1e9c1c7b54cf657e6597b67587259783b8d0e0..cb5284db6eac8a99d89be1559b8ec3ed0f403699 100644 |
--- a/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart |
+++ b/samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart |
@@ -75,7 +75,7 @@ void main() { |
.test('getElementsByTagName (not in document)', () { |
for (int i = 0; i < num; i++) { |
ElementList elems = document.queryAll('strong'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.isEmpty(); |
} |
}) |
.test('getElementsByName', () { |