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

Unified Diff: tests/standalone/io/raw_socket_typed_data_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/raw_socket_typed_data_test.dart
diff --git a/tests/standalone/io/raw_socket_typed_data_test.dart b/tests/standalone/io/raw_socket_typed_data_test.dart
index 11b6b3eb39995cf9001c5d5d013a466e540ee9c3..74ffd73e280492aea181ec992c46a7144e6f4ec2 100644
--- a/tests/standalone/io/raw_socket_typed_data_test.dart
+++ b/tests/standalone/io/raw_socket_typed_data_test.dart
@@ -32,7 +32,8 @@ testOutOfRange() {
break;
case RawSocketEvent.CLOSED:
break;
- default: throw "Unexpected event $event";
+ default:
+ throw "Unexpected event $event";
}
});
});
@@ -77,10 +78,10 @@ testOutOfRange() {
break;
case RawSocketEvent.CLOSED:
break;
- default: throw "Unexpected event $event";
+ default:
+ throw "Unexpected event $event";
}
- },
- onDone: asyncEnd);
+ }, onDone: asyncEnd);
});
});
}
@@ -157,13 +158,14 @@ void testSimpleReadWrite() {
client.shutdown(SocketDirection.SEND);
}
}
- break;
+ break;
case RawSocketEvent.READ_CLOSED:
server.close();
break;
case RawSocketEvent.CLOSED:
break;
- default: throw "Unexpected event $event";
+ default:
+ throw "Unexpected event $event";
}
});
});
@@ -204,10 +206,10 @@ void testSimpleReadWrite() {
break;
case RawSocketEvent.CLOSED:
break;
- default: throw "Unexpected event $event";
+ default:
+ throw "Unexpected event $event";
}
- },
- onDone: asyncEnd);
+ }, onDone: asyncEnd);
});
});
}

Powered by Google App Engine
This is Rietveld 408576698