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

Unified Diff: tests/standalone/io/https_client_exception_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/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() {

Powered by Google App Engine
This is Rietveld 408576698