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

Unified Diff: tests/language/double_to_string_as_precision2_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/language/double_to_string_as_precision2_test.dart
diff --git a/tests/language/double_to_string_as_precision2_test.dart b/tests/language/double_to_string_as_precision2_test.dart
index 81520f76bfbbb962edcd18ee7fa3b70676a01895..1c6f58dc935d6ccf2be7626beabbefad3bab53ea 100644
--- a/tests/language/double_to_string_as_precision2_test.dart
+++ b/tests/language/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);
}

Powered by Google App Engine
This is Rietveld 408576698