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

Unified Diff: tests/lib/async/multiple_timer_test.dart

Issue 218273002: Upgrading tests with 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: tests/lib/async/multiple_timer_test.dart
diff --git a/tests/lib/async/multiple_timer_test.dart b/tests/lib/async/multiple_timer_test.dart
index 63108132f41743320923a57617bab21f769e220b..cd16ad4a13d32ed80aef5136cb0949bf63993c58 100644
--- a/tests/lib/async/multiple_timer_test.dart
+++ b/tests/lib/async/multiple_timer_test.dart
@@ -63,12 +63,12 @@ main() {
_message = 0;
_stopwatch1.start();
- new Timer(TIMEOUT1, expectAsync0(timeoutHandler1));
+ new Timer(TIMEOUT1, expectAsync(timeoutHandler1));
_stopwatch2.start();
- new Timer(TIMEOUT2, expectAsync0(timeoutHandler2));
+ new Timer(TIMEOUT2, expectAsync(timeoutHandler2));
_stopwatch3.start();
- new Timer(TIMEOUT3, expectAsync0(timeoutHandler3));
+ new Timer(TIMEOUT3, expectAsync(timeoutHandler3));
_stopwatch4.start();
- new Timer(TIMEOUT4, expectAsync0(timeoutHandler4));
+ new Timer(TIMEOUT4, expectAsync(timeoutHandler4));
});
}

Powered by Google App Engine
This is Rietveld 408576698