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

Unified Diff: tests/standalone/io/socket_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/socket_cross_process_test.dart
diff --git a/tests/standalone/io/socket_cross_process_test.dart b/tests/standalone/io/socket_cross_process_test.dart
index d6899c6a46eafb5dbd3b01d54172c9d16e9c58f7..66798ad7c6c421c765bd45323f2bf216d1843966 100644
--- a/tests/standalone/io/socket_cross_process_test.dart
+++ b/tests/standalone/io/socket_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,7 @@ Future runClientProcess(int port) {
runClient(int port) {
Socket.connect(InternetAddress.LOOPBACK_IP_V4, port).then((connection) {
- connection.listen((_) { }, onDone: () => print('SUCCESS'));
+ connection.listen((_) {}, onDone: () => print('SUCCESS'));
connection.close();
});
}

Powered by Google App Engine
This is Rietveld 408576698