Index: tests/language_strong/double_to_string_as_precision2_test.dart |
diff --git a/tests/language_strong/double_to_string_as_precision2_test.dart b/tests/language_strong/double_to_string_as_precision2_test.dart |
index 81520f76bfbbb962edcd18ee7fa3b70676a01895..1c6f58dc935d6ccf2be7626beabbefad3bab53ea 100644 |
--- a/tests/language_strong/double_to_string_as_precision2_test.dart |
+++ b/tests/language_strong/double_to_string_as_precision2_test.dart |
@@ -7,17 +7,13 @@ import "package:expect/expect.dart"; |
main() { |
var v = 0.0; |
- Expect.throws(() => v.toStringAsPrecision(0), |
- (e) => e is RangeError); |
- Expect.throws(() => v.toStringAsPrecision(22), |
- (e) => e is RangeError); |
- Expect.throws(() => v.toStringAsPrecision(null), |
- (e) => e is ArgumentError); |
+ Expect.throws(() => v.toStringAsPrecision(0), (e) => e is RangeError); |
+ Expect.throws(() => v.toStringAsPrecision(22), (e) => e is RangeError); |
+ Expect.throws(() => v.toStringAsPrecision(null), (e) => e is ArgumentError); |
Expect.throws(() => v.toStringAsPrecision(1.5), |
- (e) => e is ArgumentError || e is TypeError); |
+ (e) => e is ArgumentError || e is TypeError); |
Expect.throws(() => v.toStringAsPrecision("string"), |
- (e) => e is ArgumentError || e is TypeError); |
+ (e) => e is ArgumentError || e is TypeError); |
Expect.throws(() => v.toStringAsPrecision("3"), |
- (e) => e is ArgumentError || e is TypeError); |
- |
+ (e) => e is ArgumentError || e is TypeError); |
} |