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

Unified Diff: tests/lib/async/timer_cancel2_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_cancel2_test.dart
diff --git a/tests/lib/async/timer_cancel2_test.dart b/tests/lib/async/timer_cancel2_test.dart
index 59081095a4e6fa7e0b0cc61198d946411d68fae9..35a2586dc1994c8d3f57fd4e8f7f8a0756531ccd 100644
--- a/tests/lib/async/timer_cancel2_test.dart
+++ b/tests/lib/async/timer_cancel2_test.dart
@@ -17,6 +17,6 @@ main() {
}
cancelTimer = new Timer.periodic(const Duration(milliseconds: 1),
- expectAsync1(cancelHandler));
+ expectAsync(cancelHandler));
});
}

Powered by Google App Engine
This is Rietveld 408576698