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 46530d6b177f8ad5ad029d321338cfef53ccf716..c87577fedebbd6e1af82543e9f0c2c543cb13f5a 100644 |
--- a/samples/third_party/dromaeo/tests/dom-query-html.dart |
+++ b/samples/third_party/dromaeo/tests/dom-query-html.dart |
@@ -74,7 +74,7 @@ void main() { |
.test('getElementsByTagName (not in document)', () { |
for (int i = 0; i < num; i++) { |
NodeList elems = document.$dom_getElementsByTagName('strong'); |
- ret = elems.last().$dom_nodeType; |
+ ret = elems.length == 0; |
} |
}) |
.test('getElementsByName', () { |