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

Unified Diff: tests/standalone/io/regress_9194_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_9194_test.dart
diff --git a/tests/standalone/io/regress_9194_test.dart b/tests/standalone/io/regress_9194_test.dart
index 0b686e0ef1f2b3d9371fcdcb4ef87bb05e4cce22..c6ca92f9496695c70c7c1ad9abb6552344542151 100644
--- a/tests/standalone/io/regress_9194_test.dart
+++ b/tests/standalone/io/regress_9194_test.dart
@@ -7,21 +7,19 @@ import 'dart:io';
void main() {
HttpServer.bind('127.0.0.1', 0).then((server) {
- server.listen((request) {
- request.response
- ..reasonPhrase = ''
- ..close();
- });
+ server.listen((request) {
+ request.response
+ ..reasonPhrase = ''
+ ..close();
+ });
- HttpClient client = new HttpClient();
- client.get("127.0.0.1", server.port, "/")
- .then((HttpClientRequest request) {
- return request.close();
- })
- .then((HttpClientResponse response) {
- Expect.equals("", response.reasonPhrase);
- server.close();
- client.close();
- });
+ HttpClient client = new HttpClient();
+ client.get("127.0.0.1", server.port, "/").then((HttpClientRequest request) {
+ return request.close();
+ }).then((HttpClientResponse response) {
+ Expect.equals("", response.reasonPhrase);
+ server.close();
+ client.close();
});
+ });
}

Powered by Google App Engine
This is Rietveld 408576698