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

Unified Diff: tests/compiler/dart2js/zero_termination_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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
« no previous file with comments | « tests/compiler/dart2js/world_test.dart ('k') | tests/compiler/dart2js_extra/10216a_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/zero_termination_test.dart
diff --git a/tests/compiler/dart2js/zero_termination_test.dart b/tests/compiler/dart2js/zero_termination_test.dart
index 7599bc57a8bd9fd2bdb4c8c92926047deec861b6..36022c123bd4558d80e2ecf739befc1d8297167e 100644
--- a/tests/compiler/dart2js/zero_termination_test.dart
+++ b/tests/compiler/dart2js/zero_termination_test.dart
@@ -32,9 +32,9 @@ Future handleRequest(HttpRequest request) {
final File file = new File(requestPath.toFilePath());
return file.exists().then((bool found) {
if (found) {
- file.openRead()
- .pipe(request.response)
- .catchError((e) { _sendNotFound(request.response); });
+ file.openRead().pipe(request.response).catchError((e) {
+ _sendNotFound(request.response);
+ });
} else {
_sendNotFound(request.response);
}
@@ -86,7 +86,8 @@ Future serverRunning(HttpServer server) async {
}
Future testHttp() {
- return HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0)
+ return HttpServer
+ .bind(InternetAddress.LOOPBACK_IP_V4, 0)
.then((HttpServer server) => serverRunning(server));
}
@@ -98,7 +99,7 @@ runTests() async {
await testFile();
await testHttp();
} finally {
- await tempDir.delete(recursive:true);
+ await tempDir.delete(recursive: true);
}
}
« no previous file with comments | « tests/compiler/dart2js/world_test.dart ('k') | tests/compiler/dart2js_extra/10216a_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698