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

Unified Diff: tests/language/compile_time_constant10_test.dart

Issue 2770063002: Revert "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
« no previous file with comments | « tests/language/closure_type_test.dart ('k') | tests/language/compile_time_constant13_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 387d4ebfdfce7b02ab36403c1c27facbb41110f8..6d61278b050d89fb8f084e67ef2c3324bac52a37 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,10 +36,8 @@ 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)");
}
}
@@ -108,3 +106,4 @@ main() {
var x = idtest; // //# 01: continued
var x = T.idtest2; // //# 02: continued
}
+
« no previous file with comments | « tests/language/closure_type_test.dart ('k') | tests/language/compile_time_constant13_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698