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

Unified Diff: tests/standalone/io/internet_address_invalid_arguments_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/internet_address_invalid_arguments_test.dart
diff --git a/tests/standalone/io/internet_address_invalid_arguments_test.dart b/tests/standalone/io/internet_address_invalid_arguments_test.dart
index 59610e1f7ae7177582d766eacbceb55ecaf2046d..85e18cb64c841d746c6c4951b01d373a460c6ded 100644
--- a/tests/standalone/io/internet_address_invalid_arguments_test.dart
+++ b/tests/standalone/io/internet_address_invalid_arguments_test.dart
@@ -8,11 +8,19 @@ import "package:expect/expect.dart";
void testIllegalArguments() {
var args = [
- null, 1, 1.1, new Object(), [], {'a' : '127.0.0.1'},
- "", "." , ":", ":::"];
+ null,
+ 1,
+ 1.1,
+ new Object(),
+ [],
+ {'a': '127.0.0.1'},
+ "",
+ ".",
+ ":",
+ ":::"
+ ];
args.forEach((arg) {
- Expect.throws(() => new InternetAddress(arg),
- (e) => e is ArgumentError);
+ Expect.throws(() => new InternetAddress(arg), (e) => e is ArgumentError);
});
}

Powered by Google App Engine
This is Rietveld 408576698