| 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");
|
|
|