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

Unified Diff: tests/corelib_strong/int_round_to_double_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/corelib_strong/int_round_to_double_test.dart
diff --git a/tests/corelib_strong/int_round_to_double_test.dart b/tests/corelib_strong/int_round_to_double_test.dart
index cc2a4caa28569f3a49ba2bd603b257530185cc6b..16cc95df88bbab3c5227be8d2e408d95920028c4 100644
--- a/tests/corelib_strong/int_round_to_double_test.dart
+++ b/tests/corelib_strong/int_round_to_double_test.dart
@@ -11,16 +11,14 @@ main() {
Expect.equals(0x12345678, 0x12345678.roundToDouble());
Expect.equals(0x123456789AB, 0x123456789AB.roundToDouble());
Expect.equals(81985529216486900.0, 0x123456789ABCDEF.roundToDouble());
- Expect.equals(
- 2.7898229935051914e+55,
+ Expect.equals(2.7898229935051914e+55,
0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.roundToDouble());
Expect.equals(-1.0, -1.roundToDouble());
Expect.equals(-0x1234, -0x1234.roundToDouble());
Expect.equals(-0x12345678, -0x12345678.roundToDouble());
Expect.equals(-0x123456789AB, -0x123456789AB.roundToDouble());
Expect.equals(-81985529216486900.0, -0x123456789ABCDEF.roundToDouble());
- Expect.equals(
- -2.7898229935051914e+55,
+ Expect.equals(-2.7898229935051914e+55,
-0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.roundToDouble());
Expect.isTrue(0.roundToDouble() is double);
@@ -29,15 +27,13 @@ main() {
Expect.isTrue(0x12345678.roundToDouble() is double);
Expect.isTrue(0x123456789AB.roundToDouble() is double);
Expect.isTrue(0x123456789ABCDEF.roundToDouble() is double);
- Expect.isTrue(
- 0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.roundToDouble()
- is double);
+ Expect.isTrue(0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
+ .roundToDouble() is double);
Expect.isTrue(-1.roundToDouble() is double);
Expect.isTrue(-0x1234.roundToDouble() is double);
Expect.isTrue(-0x12345678.roundToDouble() is double);
Expect.isTrue(-0x123456789AB.roundToDouble() is double);
Expect.isTrue(-0x123456789ABCDEF.roundToDouble() is double);
- Expect.isTrue(
- -0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF.roundToDouble()
- is double);
-}
+ Expect.isTrue(-0x123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
+ .roundToDouble() is double);
+}

Powered by Google App Engine
This is Rietveld 408576698