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

Unified Diff: pkg/intl/test/date_time_format_test_core.dart

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 2 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
Index: pkg/intl/test/date_time_format_test_core.dart
diff --git a/pkg/intl/test/date_time_format_test_core.dart b/pkg/intl/test/date_time_format_test_core.dart
index 3920d397d48bfd26ecefc991fe966d8ff9b7f6e7..acd175f07701c33d4fc11226eedc9b65e95d0fb0 100644
--- a/pkg/intl/test/date_time_format_test_core.dart
+++ b/pkg/intl/test/date_time_format_test_core.dart
@@ -177,7 +177,7 @@ List<String> allLocales() => DateFormat.allLocalesWithSymbols();
*/
List oddLocales() {
int i = 1;
- return allLocales().filter((x) => (i++).isOdd());
+ return allLocales().filter((x) => (i++).isOdd);
}
/**
@@ -193,7 +193,7 @@ List smallSetOfLocales() {
*/
List evenLocales() {
int i = 1;
- return allLocales().filter((x) => !((i++).isOdd()));
+ return allLocales().filter((x) => !((i++).isOdd));
}
// TODO(alanknight): Run specific tests for the en_ISO locale which isn't
« lib/core/int.dart ('K') | « pkg/intl/lib/number_format.dart ('k') | runtime/lib/double.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698