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

Unified Diff: tests/standalone/io/secure_builtin_roots_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/secure_builtin_roots_test.dart
diff --git a/tests/standalone/io/secure_builtin_roots_test.dart b/tests/standalone/io/secure_builtin_roots_test.dart
index ce89d11aecabfe61ce8872fc272f4a5ba8af2916..e1c5321a57fda5f0f6fdf7ee1a4413355f731acb 100644
--- a/tests/standalone/io/secure_builtin_roots_test.dart
+++ b/tests/standalone/io/secure_builtin_roots_test.dart
@@ -19,7 +19,9 @@ Future testGoogleUrl(SecurityContext context, String outcome) async {
request.followRedirects = false;
var response = await request.close();
Expect.equals('pass', outcome, 'Unexpected successful connection');
- try { await response.drain(); } catch (e) { }
+ try {
+ await response.drain();
+ } catch (e) {}
} on HandshakeException {
Expect.equals('fail', outcome, 'Unexpected failed connection');
} on SocketException {
@@ -29,7 +31,6 @@ Future testGoogleUrl(SecurityContext context, String outcome) async {
}
}
-
main() async {
asyncStart();
await testGoogleUrl(null, "pass");

Powered by Google App Engine
This is Rietveld 408576698