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

Unified Diff: tests/isolate/count_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/isolate/count_test.dart
diff --git a/tests/isolate/count_test.dart b/tests/isolate/count_test.dart
index 881ac6bbd30fac8631d4f3d661519be0ee600fbc..b6f1780e200f68c23180e3345d22864253d1e818 100644
--- a/tests/isolate/count_test.dart
+++ b/tests/isolate/count_test.dart
@@ -31,7 +31,7 @@ void main([args, port]) {
Isolate.spawn(countMessages, local.sendPort);
SendPort remote;
int count = 0;
- var done = expectAsync0((){});
+ var done = expectAsync((){});
local.listen((msg) {
switch (msg[0]) {
case "init":

Powered by Google App Engine
This is Rietveld 408576698