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 |