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

Unified Diff: tests/language/double_to_string_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_test.dart
diff --git a/tests/language/double_to_string_test.dart b/tests/language/double_to_string_test.dart
index a7c1061ab05f49fd3ea076cdfeb999ac215c0e72..5b0c4cd370a856b3beda8c2b47d6356bd1024594 100644
--- a/tests/language/double_to_string_test.dart
+++ b/tests/language/double_to_string_test.dart
@@ -7,16 +7,16 @@ import "package:expect/expect.dart";
main() {
Expect.equals("NaN", (double.NAN).toString());
- Expect.equals("Infinity", (1/0).toString());
- Expect.equals("-Infinity", (-1/0).toString());
+ Expect.equals("Infinity", (1 / 0).toString());
+ Expect.equals("-Infinity", (-1 / 0).toString());
Expect.equals("90.12", (90.12).toString());
Expect.equals("0.1", (0.1).toString());
Expect.equals("0.01", (0.01).toString());
Expect.equals("0.0123", (0.0123).toString());
- Expect.equals("1.1111111111111111e+21",
- (1111111111111111111111.0).toString());
- Expect.equals("1.1111111111111111e+22",
- (11111111111111111111111.0).toString());
+ Expect.equals(
+ "1.1111111111111111e+21", (1111111111111111111111.0).toString());
+ Expect.equals(
+ "1.1111111111111111e+22", (11111111111111111111111.0).toString());
Expect.equals("0.00001", (0.00001).toString());
Expect.equals("0.000001", (0.000001).toString());
Expect.equals("1e-7", (0.0000001).toString());
@@ -31,10 +31,10 @@ main() {
Expect.equals("-0.1", (-0.1).toString());
Expect.equals("-0.01", (-0.01).toString());
Expect.equals("-0.0123", (-0.0123).toString());
- Expect.equals("-1.1111111111111111e+21",
- (-1111111111111111111111.0).toString());
- Expect.equals("-1.1111111111111111e+22",
- (-11111111111111111111111.0).toString());
+ Expect.equals(
+ "-1.1111111111111111e+21", (-1111111111111111111111.0).toString());
+ Expect.equals(
+ "-1.1111111111111111e+22", (-11111111111111111111111.0).toString());
Expect.equals("-0.00001", (-0.00001).toString());
Expect.equals("-0.000001", (-0.000001).toString());
Expect.equals("-1e-7", (-0.0000001).toString());
@@ -49,8 +49,8 @@ main() {
Expect.equals("-1e+21", (-1000000000000000012800.0).toString());
Expect.equals("1e-7", (0.0000001).toString());
Expect.equals("-1e-7", (-0.0000001).toString());
- Expect.equals("1.0000000000000001e+21",
- (1000000000000000128000.0).toString());
+ Expect.equals(
+ "1.0000000000000001e+21", (1000000000000000128000.0).toString());
Expect.equals("0.000001", (0.000001).toString());
Expect.equals("1e-7", (0.0000001).toString());
}

Powered by Google App Engine
This is Rietveld 408576698