Index: tests/html/worker_test.dart |
diff --git a/tests/html/worker_test.dart b/tests/html/worker_test.dart |
index d24394bb74d8c23bad1353aa2ca4b8330739c620..018d7fc288e6b7d6fcb1812675b9838eb1162c56 100644 |
--- a/tests/html/worker_test.dart |
+++ b/tests/html/worker_test.dart |
@@ -37,7 +37,7 @@ main() { |
var blob = new Blob([workerScript], 'text/javascript'); |
var url = Url.createObjectUrl(blob); |
var worker = new Worker(url); |
- var test = expectAsync1((e) { |
+ var test = expectAsync((e) { |
expect(e.data, 'WorkerMessage'); |
}); |
worker.onMessage.first.then(test); |