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