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

Unified Diff: tests/standalone/io/http_cross_process_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/standalone/io/http_cross_process_test.dart
diff --git a/tests/standalone/io/http_cross_process_test.dart b/tests/standalone/io/http_cross_process_test.dart
index b16763dee9fcda98e63d26aefc3fa4208ba1ff25..7da835d464e50ca51c18d38914dbac6098578bb8 100644
--- a/tests/standalone/io/http_cross_process_test.dart
+++ b/tests/standalone/io/http_cross_process_test.dart
@@ -34,11 +34,15 @@ Future makeServer() {
}
Future runClientProcess(int port) {
- return Process.run(Platform.executable,
- []..addAll(Platform.executableArguments)
- ..add(Platform.script.toFilePath())
- ..add('--client')
- ..add(port.toString())).then((ProcessResult result) {
+ return Process
+ .run(
+ Platform.executable,
+ []
+ ..addAll(Platform.executableArguments)
+ ..add(Platform.script.toFilePath())
+ ..add('--client')
+ ..add(port.toString()))
+ .then((ProcessResult result) {
if (result.exitCode != 0 || !result.stdout.contains('SUCCESS')) {
print("Client failed, exit code ${result.exitCode}");
print(" stdout:");
@@ -52,7 +56,8 @@ Future runClientProcess(int port) {
runClient(int port) {
var client = new HttpClient();
- client.get('127.0.0.1', port, "/")
+ client
+ .get('127.0.0.1', port, "/")
.then((request) => request.close())
.then((response) => response.drain())
.then((_) => client.close())

Powered by Google App Engine
This is Rietveld 408576698