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

Unified Diff: tests/lib/async/timer_repeat_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/timer_repeat_test.dart
diff --git a/tests/lib/async/timer_repeat_test.dart b/tests/lib/async/timer_repeat_test.dart
index e523ed4882ad735967be12f3c8bea1fe0d8d0802..f6b5309a45a31d323cab2d422359adb32f6a72d3 100644
--- a/tests/lib/async/timer_repeat_test.dart
+++ b/tests/lib/async/timer_repeat_test.dart
@@ -30,6 +30,6 @@ main() {
iteration = 0;
startTime = new DateTime.now().millisecondsSinceEpoch;
timer = new Timer.periodic(TIMEOUT,
- expectAsync1(timeoutHandler, count: ITERATIONS));
+ expectAsync(timeoutHandler, count: ITERATIONS));
});
}

Powered by Google App Engine
This is Rietveld 408576698