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

Unified Diff: tests/standalone/io/regress_8828_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/regress_8828_test.dart
diff --git a/tests/standalone/io/regress_8828_test.dart b/tests/standalone/io/regress_8828_test.dart
index b801545cf001ed452e4b1c17202d145fc934cf1f..22225c8e5815605185bbbc8bb9e88fd74a4ad12f 100644
--- a/tests/standalone/io/regress_8828_test.dart
+++ b/tests/standalone/io/regress_8828_test.dart
@@ -21,18 +21,15 @@ void main() {
});
HttpClient client = new HttpClient();
- client.get("127.0.0.1", server.port, "/")
- .then((HttpClientRequest request) {
- return request.close();
- })
- .then((HttpClientResponse response) {
- List<int> body = new List();
- response.listen(body.addAll,
- onDone: () {
- Expect.equals("first line\nsecond line\n",
- new String.fromCharCodes(body));
- server.close();
- });
- });
+ client.get("127.0.0.1", server.port, "/").then((HttpClientRequest request) {
+ return request.close();
+ }).then((HttpClientResponse response) {
+ List<int> body = new List();
+ response.listen(body.addAll, onDone: () {
+ Expect.equals(
+ "first line\nsecond line\n", new String.fromCharCodes(body));
+ server.close();
+ });
+ });
});
}

Powered by Google App Engine
This is Rietveld 408576698