Index: tests/language_strong/compile_time_constant10_test.dart |
diff --git a/tests/language_strong/compile_time_constant10_test.dart b/tests/language_strong/compile_time_constant10_test.dart |
index 387d4ebfdfce7b02ab36403c1c27facbb41110f8..6d61278b050d89fb8f084e67ef2c3324bac52a37 100644 |
--- a/tests/language_strong/compile_time_constant10_test.dart |
+++ b/tests/language_strong/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 |
} |
+ |