Index: tests/compiler/dart2js_extra/many_constants_test.dart |
diff --git a/tests/compiler/dart2js_extra/many_constants_test.dart b/tests/compiler/dart2js_extra/many_constants_test.dart |
index 5027b50cd621ac4f8795d2b653848333ffed7f36..3c8a663684851c90a5f9ed2cd2eeb9d99c4c20a6 100644 |
--- a/tests/compiler/dart2js_extra/many_constants_test.dart |
+++ b/tests/compiler/dart2js_extra/many_constants_test.dart |
@@ -37,10 +37,10 @@ const m5 = const {2: 1, 1: 2}; |
const m6 = const {2: 2, 1: 1}; |
const m7 = const {2: 1, 1: 1}; |
const m8 = const {2: 2, 1: 2}; |
-const m9 = const <int,int>{1: 1, 2: 2}; |
-const mA = const <int,int>{1: 2, 2: 1}; |
-const mB = const <int,int>{1: 1, 2: 1}; |
-const mC = const <int,int>{1: 2, 2: 2}; |
+const m9 = const <int, int>{1: 1, 2: 2}; |
+const mA = const <int, int>{1: 2, 2: 1}; |
+const mB = const <int, int>{1: 1, 2: 1}; |
+const mC = const <int, int>{1: 2, 2: 2}; |
const mE1 = const {E.A: E.B}; |
const mE2 = const {E.A: E.C}; |
@@ -59,17 +59,49 @@ const z5 = const Z(d: 3); |
const z6 = const Z(d: 2); |
makeAll() => { |
- 'E.A': E.A, 'E.B': E.B, 'E.C': E.C, 'E.D': E.D, |
- 'c1': c1, 'c2': c2, 'c3': c3, 'c4': c4, |
- 'l1': l1, 'l2': l2, 'l3': l3, 'l4': l4, |
- 'll1': ll1, 'll2': ll2, 'll3': ll3, 'l4': ll4, |
- 'm1': m1, 'm2': m2, 'm3': m3, 'm4': m4, |
- 'm5': m5, 'm6': m6, 'm7': m7, 'm8': m8, |
- 'm9': m9, 'mA': mA, 'mB': mB, 'mC': mC, |
- 'mE1': mE1, 'mE2': mE2, 'mE3': mE3, 'mE4': mE4, |
- 'mE5': mE5, 'mE6': mE6, 'mE7': mE7, 'mE8': mE8, |
- 'z1': z1, 'z2': z2, 'z3': z3, 'z4': z4, 'z5': z5, 'z6': z6, |
-}; |
+ 'E.A': E.A, |
+ 'E.B': E.B, |
+ 'E.C': E.C, |
+ 'E.D': E.D, |
+ 'c1': c1, |
+ 'c2': c2, |
+ 'c3': c3, |
+ 'c4': c4, |
+ 'l1': l1, |
+ 'l2': l2, |
+ 'l3': l3, |
+ 'l4': l4, |
+ 'll1': ll1, |
+ 'll2': ll2, |
+ 'll3': ll3, |
+ 'l4': ll4, |
+ 'm1': m1, |
+ 'm2': m2, |
+ 'm3': m3, |
+ 'm4': m4, |
+ 'm5': m5, |
+ 'm6': m6, |
+ 'm7': m7, |
+ 'm8': m8, |
+ 'm9': m9, |
+ 'mA': mA, |
+ 'mB': mB, |
+ 'mC': mC, |
+ 'mE1': mE1, |
+ 'mE2': mE2, |
+ 'mE3': mE3, |
+ 'mE4': mE4, |
+ 'mE5': mE5, |
+ 'mE6': mE6, |
+ 'mE7': mE7, |
+ 'mE8': mE8, |
+ 'z1': z1, |
+ 'z2': z2, |
+ 'z3': z3, |
+ 'z4': z4, |
+ 'z5': z5, |
+ 'z6': z6, |
+ }; |
main() { |
var all1 = makeAll(); |
@@ -80,8 +112,8 @@ main() { |
for (var name2 in all2.keys) { |
if (name1 == name2) continue; |
var e2 = all2[name2]; |
- Expect.isFalse(identical(e1, e2), |
- 'Different instances $name1: $e1 $name2: $e2'); |
+ Expect.isFalse( |
+ identical(e1, e2), 'Different instances $name1: $e1 $name2: $e2'); |
} |
} |
} |