Index: tests/corelib/list_map_test.dart |
diff --git a/tests/corelib/list_map_test.dart b/tests/corelib/list_map_test.dart |
index 92aa33150e01e1e9b3cde6e2103c9f74c906a91c..ca30d4a0e4887e2f589f3e84c538435d4b41e8c0 100644 |
--- a/tests/corelib/list_map_test.dart |
+++ b/tests/corelib/list_map_test.dart |
@@ -95,18 +95,18 @@ void testOperations() { |
testOp((i) => i.first, "first"); |
testOp((i) => i.last, "last"); |
testOp((i) => i.single, "single"); |
- testOp((i) => i.firstMatching((n) => false), "firstMatching<false"); |
- testOp((i) => i.firstMatching((n) => n < 10), "firstMatching<10"); |
- testOp((i) => i.firstMatching((n) => n < 5), "firstMatching<5"); |
- testOp((i) => i.firstMatching((n) => true), "firstMatching<true"); |
- testOp((i) => i.lastMatching((n) => false), "lastMatching<false"); |
- testOp((i) => i.lastMatching((n) => n < 5), "lastMatching<5"); |
- testOp((i) => i.lastMatching((n) => n < 10), "lastMatching<10"); |
- testOp((i) => i.lastMatching((n) => true), "lastMatching<true"); |
- testOp((i) => i.singleMatching((n) => false), "singleMatching<false"); |
- testOp((i) => i.singleMatching((n) => n < 5), "singelMatching<5"); |
- testOp((i) => i.singleMatching((n) => n < 10), "singelMatching<10"); |
- testOp((i) => i.singleMatching((n) => true), "singleMatching<true"); |
+ testOp((i) => i.firstWhere((n) => false), "firstWhere<false"); |
+ testOp((i) => i.firstWhere((n) => n < 10), "firstWhere<10"); |
+ testOp((i) => i.firstWhere((n) => n < 5), "firstWhere<5"); |
+ testOp((i) => i.firstWhere((n) => true), "firstWhere<true"); |
+ testOp((i) => i.lastWhere((n) => false), "lastWhere<false"); |
+ testOp((i) => i.lastWhere((n) => n < 5), "lastWhere<5"); |
+ testOp((i) => i.lastWhere((n) => n < 10), "lastWhere<10"); |
+ testOp((i) => i.lastWhere((n) => true), "lastWhere<true"); |
+ testOp((i) => i.singleWhere((n) => false), "singleWhere<false"); |
+ testOp((i) => i.singleWhere((n) => n < 5), "singelWhere<5"); |
+ testOp((i) => i.singleWhere((n) => n < 10), "singelWhere<10"); |
+ testOp((i) => i.singleWhere((n) => true), "singleWhere<true"); |
testOp((i) => i.contains(5), "contains(5)"); |
testOp((i) => i.contains(10), "contains(10)"); |
testOp((i) => i.any((n) => n < 5), "any<5"); |