Index: tests/lib_strong/html/typing_test.dart |
diff --git a/tests/lib_strong/html/typing_test.dart b/tests/lib_strong/html/typing_test.dart |
index e353bf5c413a48690eefb41b75db635da7821046..144ab8f3e5d68a934db98b07f2018bd16b675db9 100644 |
--- a/tests/lib_strong/html/typing_test.dart |
+++ b/tests/lib_strong/html/typing_test.dart |
@@ -7,10 +7,10 @@ main() { |
predicate((x) => x is List<StyleSheet>, 'is a List<StyleSheet>'); |
test('NodeList', () { |
- List<Node> asList = window.document.queryAll('body'); |
+ List<Element> asList = window.document.queryAll('body'); |
// Check it's Iterable |
int counter = 0; |
- for (Node node in window.document.queryAll('body')) { |
+ for (Element node in window.document.queryAll('body')) { |
counter++; |
} |
expect(counter, 1); |