Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: tests/corelib/list_reversed_test.dart

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/list_map_test.dart ('k') | tests/corelib/queue_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « tests/corelib/list_map_test.dart ('k') | tests/corelib/queue_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698