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

Unified Diff: tests/lib/async/timer_cancel1_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_cancel1_test.dart
diff --git a/tests/lib/async/timer_cancel1_test.dart b/tests/lib/async/timer_cancel1_test.dart
index c964b15c92391a25b23c60b046a77a3f9e1e8642..50fd5bd8fdde55a946d5df86e525f1bff211f65a 100644
--- a/tests/lib/async/timer_cancel1_test.dart
+++ b/tests/lib/async/timer_cancel1_test.dart
@@ -21,8 +21,8 @@ main() {
}
cancelerTimer = new Timer(const Duration(milliseconds: 1),
- expectAsync0(handler));
+ expectAsync(handler));
canceleeTimer = new Timer(const Duration(milliseconds: 1000),
- expectAsync0(unreachable, count: 0));
+ expectAsync(unreachable, count: 0));
});
}

Powered by Google App Engine
This is Rietveld 408576698