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

Unified Diff: pkg/intl/test/find_default_locale_standalone_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_standalone_test.dart
diff --git a/pkg/intl/test/find_default_locale_standalone_test.dart b/pkg/intl/test/find_default_locale_standalone_test.dart
index f0df693608f5525cb096c66fef1774d63c7aa4cb..a89f8ad122b2b3787926ff87206314a61e22f1e4 100644
--- a/pkg/intl/test/find_default_locale_standalone_test.dart
+++ b/pkg/intl/test/find_default_locale_standalone_test.dart
@@ -15,7 +15,7 @@ main() {
// and then verify that it's actually the correct value.
// We have no way of getting this reliably for Windows, so it will fail.
Intl.systemLocale = "xx_YY";
- var callback = expectAsync1(verifyLocale);
+ var callback = expectAsync(verifyLocale);
findSystemLocale().then(callback);
});
}
« no previous file with comments | « pkg/intl/test/find_default_locale_browser_test.dart ('k') | pkg/intl/test/intl_message_basic_example_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698