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

Unified Diff: tests/standalone/io/http_ipv6_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_ipv6_test.dart
diff --git a/tests/standalone/io/http_ipv6_test.dart b/tests/standalone/io/http_ipv6_test.dart
index b0d2acf4980dff04bf80fd20073751600a4760ab..fe61c0823df2844ef7c64f07890a92900b179f7c 100644
--- a/tests/standalone/io/http_ipv6_test.dart
+++ b/tests/standalone/io/http_ipv6_test.dart
@@ -28,20 +28,19 @@ void testHttpIPv6() {
var client = new HttpClient();
var url = Uri.parse('http://[::1]:${server.port}/xxx');
Expect.equals(url.host, '::1');
- client.openUrl('GET', url)
+ client
+ .openUrl('GET', url)
.then((request) => request.close())
.then((response) {
- Expect.equals(response.statusCode, HttpStatus.OK);
- }).whenComplete(() {
- server.close();
- client.close();
- asyncEnd();
- });
+ Expect.equals(response.statusCode, HttpStatus.OK);
+ }).whenComplete(() {
+ server.close();
+ client.close();
+ asyncEnd();
+ });
});
}
-
-
void main() {
testHttpIPv6();
}

Powered by Google App Engine
This is Rietveld 408576698