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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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_local_test_stub.dart
diff --git a/pkg/intl/test/date_time_format_local_test_stub.dart b/pkg/intl/test/date_time_format_local_test_stub.dart
index 0556cd586649c720b1c9df2b32fdb736a7cc546b..6a5225d75ee4a4740048da076985724f389db915 100644
--- a/pkg/intl/test/date_time_format_local_test_stub.dart
+++ b/pkg/intl/test/date_time_format_local_test_stub.dart
@@ -9,6 +9,7 @@
library date_time_format_test;
+import 'dart:async';
import '../lib/intl.dart';
import '../lib/date_time_patterns.dart';
import '../lib/date_symbol_data_local.dart';
@@ -24,7 +25,8 @@ runWith([Function getSubset]) {
void runEverything(Function getSubset) {
// Initialize all locales and wait for them to finish before running tests.
- var futures = DateFormat.allLocalesWithSymbols().map(
- (locale) => initializeDateFormatting(locale, null));
+ var futures = DateFormat.allLocalesWithSymbols()
+ .mappedBy((locale) => initializeDateFormatting(locale, null))
+ .toList();
Futures.wait(futures).then((results) => runDateTests(getSubset()));
}
« no previous file with comments | « pkg/intl/test/date_time_format_http_request_test.dart ('k') | pkg/intl/test/date_time_format_test_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698