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

Unified Diff: pkg/intl/test/intl_message_basic_example_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
« no previous file with comments | « pkg/intl/test/find_default_locale_standalone_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/intl_message_basic_example_test.dart
diff --git a/pkg/intl/test/intl_message_basic_example_test.dart b/pkg/intl/test/intl_message_basic_example_test.dart
index 249776c398a5e98a54cd2da2197f9bbfe5974929..9a16571866c849cb62389f8b19bde5e993c0277d 100644
--- a/pkg/intl/test/intl_message_basic_example_test.dart
+++ b/pkg/intl/test/intl_message_basic_example_test.dart
@@ -24,10 +24,10 @@ main() {
test('Verify basic example printing localized messages', () {
runAllTests(_) {
- setup(expectAsync1(runProgram), addToList);
+ setup(expectAsync(runProgram), addToList);
}
- setup(expectAsync1(runAllTests), addToList);
- waitForIt.future.then(expectAsync1((_) {
+ setup(expectAsync(runAllTests), addToList);
+ waitForIt.future.then(expectAsync((_) {
expect(list[0], "Ran at 00:00:00 on Thursday, January 1, 1970");
expect(list[1], "Ausgedruckt am 00:00:00 am Donnerstag, 1. Januar 1970.");
expect(list[2], "วิ่ง 0:00:00 on วันพฤหัสบดี 1 มกราคม 1970.");
« no previous file with comments | « pkg/intl/test/find_default_locale_standalone_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698