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

Unified Diff: pkg/intl/lib/intl_browser.dart

Issue 11028010: Make sure to wrap all callbacks with expectAsync in tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/lib/intl_browser.dart
===================================================================
--- pkg/intl/lib/intl_browser.dart (revision 13089)
+++ pkg/intl/lib/intl_browser.dart (working copy)
@@ -26,4 +26,5 @@
*/
Future<String> findSystemLocale() {
Intl.systemLocale = window.navigator.language.replaceFirst("-","_");
+ return new Future.immediate(Intl.systemLocale);
}
« no previous file with comments | « no previous file | pkg/intl/test/date_time_format_file_test_stub.dart » ('j') | pkg/intl/test/date_time_format_file_test_stub.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698