Index: tests/lib_strong/html/worker_api_test.dart |
diff --git a/tests/lib_strong/html/worker_api_test.dart b/tests/lib_strong/html/worker_api_test.dart |
index 7dd829c63a952fbb29b8abffc40cd340fd18212d..97103ab0ba124b6e018c6c80e80f37759e8a3cf7 100644 |
--- a/tests/lib_strong/html/worker_api_test.dart |
+++ b/tests/lib_strong/html/worker_api_test.dart |
@@ -26,7 +26,7 @@ main() { |
test('Use Worker API in Worker', () { |
var response = new ReceivePort(); |
var remote = Isolate.spawn(worker, ['', response.sendPort]); |
- remote.then((_) => response.first) |
- .then(expectAsync((reply) => expect(reply, equals('Hello from Worker')))); |
+ remote.then((_) => response.first).then( |
+ expectAsync((reply) => expect(reply, equals('Hello from Worker')))); |
}); |
} |