Index: tests/html/queryall_test.dart |
diff --git a/tests/html/queryall_test.dart b/tests/html/queryall_test.dart |
index 2d3fe9583521e4e83ef5a56f0c0ddd5b622cff54..6ebce45d7cb5d41321fed7a81d0e56fed5b224d8 100644 |
--- a/tests/html/queryall_test.dart |
+++ b/tests/html/queryall_test.dart |
@@ -59,9 +59,9 @@ main() { |
} |
}); |
- test('queryAll-filter', () { |
+ test('queryAll-where', () { |
List<Element> all = queryAll('*'); |
- List<CanvasElement> canvases = all.filter((e) => e is CanvasElement); |
+ Iterable<CanvasElement> canvases = all.where((e) => e is CanvasElement); |
for (var e in canvases) { |
expect(e is CanvasElement, isTrue); |
} |