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

Unified Diff: tests/html/worker_api_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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 7dd829c63a952fbb29b8abffc40cd340fd18212d..97103ab0ba124b6e018c6c80e80f37759e8a3cf7 100644
--- a/tests/html/worker_api_test.dart
+++ b/tests/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'))));
});
}

Powered by Google App Engine
This is Rietveld 408576698