Index: tests/corelib/list_reversed_test.dart |
diff --git a/tests/corelib/list_reversed_test.dart b/tests/corelib/list_reversed_test.dart |
index d6c84844b3143525da7d0d527ed2e50b080c75da..6055b3ae3ebda2e12f3a688195a8ff15533f51bb 100644 |
--- a/tests/corelib/list_reversed_test.dart |
+++ b/tests/corelib/list_reversed_test.dart |
@@ -92,12 +92,12 @@ void testOperations() { |
testOp((i) => i.first, "first"); |
testOp((i) => i.last, "last"); |
testOp((i) => i.single, "single"); |
- testOp((i) => i.firstMatching((n) => n < 5), "firstMatching<5"); |
- testOp((i) => i.firstMatching((n) => n < 10), "firstMatching<10"); |
- testOp((i) => i.lastMatching((n) => n < 5), "lastMatching<5"); |
- testOp((i) => i.lastMatching((n) => n < 10), "lastMatching<10"); |
- testOp((i) => i.singleMatching((n) => n < 5), "singelMatching<5"); |
- testOp((i) => i.singleMatching((n) => n < 10), "singelMatching<10"); |
+ testOp((i) => i.firstWhere((n) => n < 5), "firstWhere<5"); |
+ testOp((i) => i.firstWhere((n) => n < 10), "firstWhere<10"); |
+ testOp((i) => i.lastWhere((n) => n < 5), "lastWhere<5"); |
+ testOp((i) => i.lastWhere((n) => n < 10), "lastWhere<10"); |
+ testOp((i) => i.singleWhere((n) => n < 5), "singelWhere<5"); |
+ testOp((i) => i.singleWhere((n) => n < 10), "singelWhere<10"); |
testOp((i) => i.contains(5), "contains(5)"); |
testOp((i) => i.contains(10), "contains(10)"); |
testOp((i) => i.any((n) => n < 5), "any<5"); |