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 94f9bcf30af8af7264d7575b19ef15995966b734..fce9e6e9b73f6561bc2e595963349ee0d500d9f3 100644 |
--- a/pkg/intl/test/date_time_format_test_core.dart |
+++ b/pkg/intl/test/date_time_format_test_core.dart |
@@ -218,12 +218,12 @@ runDateTests([List<String> subset]) { |
var date_format = new DateFormat("d"); |
expect( |
date_format.parsePattern("hh:mm:ss") |
- .mappedBy((x) => x.pattern) |
+ .map((x) => x.pattern) |
.toList(), |
orderedEquals(["hh",":", "mm",":","ss"])); |
expect( |
date_format.parsePattern("hh:mm:ss") |
- .mappedBy((x) => x.pattern) |
+ .map((x) => x.pattern) |
.toList(), |
orderedEquals(["hh",":", "mm",":","ss"])); |
}); |