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

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

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Remove CollectionUtils.mappedBy in Swarm. Created 8 years, 1 month 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 c2d502145b181ed249614e33dfddc6a4408dfcd9..4e92fb648235c887c84b19525702086080e52a50 100644
--- a/pkg/intl/test/date_time_format_test_core.dart
+++ b/pkg/intl/test/date_time_format_test_core.dart
@@ -217,10 +217,14 @@ runDateTests([List<String> subset]) {
test('Basic date format parsing', () {
var date_format = new DateFormat("d");
expect(
- date_format.parsePattern("hh:mm:ss").mappedBy((x) => x.pattern),
+ date_format.parsePattern("hh:mm:ss")
+ .mappedBy((x) => x.pattern)
+ .toList(),
orderedEquals(["hh",":", "mm",":","ss"]));
expect(
- date_format.parsePattern("hh:mm:ss").mappedBy((x) => x.pattern),
+ date_format.parsePattern("hh:mm:ss")
+ .mappedBy((x) => x.pattern)
+ .toList(),
orderedEquals(["hh",":", "mm",":","ss"]));
});

Powered by Google App Engine
This is Rietveld 408576698