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

Unified Diff: tests/language/compile_time_constant10_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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/compile_time_constant10_test.dart
diff --git a/tests/language/compile_time_constant10_test.dart b/tests/language/compile_time_constant10_test.dart
index 6d61278b050d89fb8f084e67ef2c3324bac52a37..387d4ebfdfce7b02ab36403c1c27facbb41110f8 100644
--- a/tests/language/compile_time_constant10_test.dart
+++ b/tests/language/compile_time_constant10_test.dart
@@ -9,8 +9,8 @@ import "package:expect/expect.dart";
class C {
final x;
const C(this.x);
- static f3(){}
- static f4(){}
+ static f3() {}
+ static f4() {}
}
const i1 = 1;
@@ -21,14 +21,14 @@ const b1 = true;
const b2 = false;
const s1 = "1";
const s2 = "2";
-const l1 = const [1,2];
-const l2 = const [2,3];
+const l1 = const [1, 2];
+const l2 = const [2, 3];
const m1 = const {"x": 1};
const m2 = const {"x": 2};
const c1 = const C(1);
const c2 = const C(2);
-f1(){}
-f2(){}
+f1() {}
+f2() {}
const id = identical;
class CT {
@@ -36,8 +36,10 @@ class CT {
final x2;
final bool id;
const CT(var x1, var x2)
- : this.x1 = x1, this.x2 = x2, this.id = identical(x1, x2);
- void test(void expect(a,b), name) {
+ : this.x1 = x1,
+ this.x2 = x2,
+ this.id = identical(x1, x2);
+ void test(void expect(a, b), name) {
expect(id, "$name: identical($x1,$x2)");
}
}
@@ -106,4 +108,3 @@ main() {
var x = idtest; // //# 01: continued
var x = T.idtest2; // //# 02: continued
}
-

Powered by Google App Engine
This is Rietveld 408576698