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

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

Issue 216553006: pkg/intl: updated for latest unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/find_default_locale_browser_test.dart
diff --git a/pkg/intl/test/find_default_locale_browser_test.dart b/pkg/intl/test/find_default_locale_browser_test.dart
index 1cc177eb53de63f54b399d92a4c65aaf20c8073f..f00b4c8e632055e118868435413d9672c6cae86e 100644
--- a/pkg/intl/test/find_default_locale_browser_test.dart
+++ b/pkg/intl/test/find_default_locale_browser_test.dart
@@ -14,7 +14,7 @@ main() {
// should find a way to force the system locale before the test is run
// and then verify that it's actually the correct value.
Intl.systemLocale = 'xx_YY';
- var callback = expectAsync1(verifyLocale);
+ var callback = expectAsync(verifyLocale);
findSystemLocale().then(callback);
});
}
« no previous file with comments | « pkg/intl/test/date_time_format_http_request_test.dart ('k') | pkg/intl/test/find_default_locale_standalone_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698