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

Unified Diff: tests/corelib/list_map_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/iterable_single_where_test.dart ('k') | tests/corelib/list_reversed_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « tests/corelib/iterable_single_where_test.dart ('k') | tests/corelib/list_reversed_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698