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

Unified Diff: tests/html/worker_api_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/html/worker_api_test.dart
diff --git a/tests/html/worker_api_test.dart b/tests/html/worker_api_test.dart
index e1ab1a4d8af9afb7d0da6a795ec66c103f166073..7dd829c63a952fbb29b8abffc40cd340fd18212d 100644
--- a/tests/html/worker_api_test.dart
+++ b/tests/html/worker_api_test.dart
@@ -27,6 +27,6 @@ main() {
var response = new ReceivePort();
var remote = Isolate.spawn(worker, ['', response.sendPort]);
remote.then((_) => response.first)
- .then(expectAsync1((reply) => expect(reply, equals('Hello from Worker'))));
+ .then(expectAsync((reply) => expect(reply, equals('Hello from Worker'))));
Siggi Cherem (dart-lang) 2014/03/31 17:13:34 I know it was there before, but since you are here
});
}

Powered by Google App Engine
This is Rietveld 408576698