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

Unified Diff: tests/html/isolates_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/isolates_test.dart
diff --git a/tests/html/isolates_test.dart b/tests/html/isolates_test.dart
index f0da5f0ed517abd43ce53f207d586196746f645d..86de2489e05142c763a06431046043ba9efb73ea 100644
--- a/tests/html/isolates_test.dart
+++ b/tests/html/isolates_test.dart
@@ -47,7 +47,7 @@ main() {
port.close();
});
test('NonDOMIsolates', () {
- var callback = expectAsync0((){});
+ var callback = expectAsync((){});
var response = new isolate.ReceivePort();
var remote = isolate.Isolate.spawn(isolateEntry, response.sendPort);
response.first.then((port) {

Powered by Google App Engine
This is Rietveld 408576698