Index: tests/standalone/io/https_client_exception_test.dart |
diff --git a/tests/standalone/io/https_client_exception_test.dart b/tests/standalone/io/https_client_exception_test.dart |
index 1f9cbade98ef1846c091ad8360a3f256752e2f5b..6735909a963ad766c2e84a41a280c30cdcfc238b 100644 |
--- a/tests/standalone/io/https_client_exception_test.dart |
+++ b/tests/standalone/io/https_client_exception_test.dart |
@@ -10,13 +10,13 @@ import "package:expect/expect.dart"; |
void testBadHostName() { |
asyncStart(); |
HttpClient client = new HttpClient(); |
- client.getUrl(Uri.parse("https://some.bad.host.name.7654321/")) |
+ client |
+ .getUrl(Uri.parse("https://some.bad.host.name.7654321/")) |
.then((HttpClientRequest request) { |
- Expect.fail("Should not open a request on bad hostname"); |
- }) |
- .catchError((error) { |
- asyncEnd(); // Should throw an error on bad hostname. |
- }); |
+ Expect.fail("Should not open a request on bad hostname"); |
+ }).catchError((error) { |
+ asyncEnd(); // Should throw an error on bad hostname. |
+ }); |
} |
void main() { |