Index: tests/language/map_literal_test.dart |
diff --git a/tests/language/map_literal_test.dart b/tests/language/map_literal_test.dart |
index 48fa0d8d71b8a8720fee790a5f2ce23393ff1d40..93f1c3d563ef6de5ee7df26aafeecffb3198af91 100644 |
--- a/tests/language/map_literal_test.dart |
+++ b/tests/language/map_literal_test.dart |
@@ -27,9 +27,9 @@ class MapLiteralTest { |
testLocalInit() { |
// Test construction of static const map literals |
- var map1 = {"a":1, "b":2}; |
+ var map1 = {"a": 1, "b": 2}; |
// Test construction of static const map literals, with numbers |
- var map2 = {"1":1, "2":2}; |
+ var map2 = {"1": 1, "2": 2}; |
Expect.equals(1, map1["a"]); |
Expect.equals(2, map1["b"]); |
@@ -43,9 +43,9 @@ class StaticInit { |
StaticInit() {} |
// Test construction of static const map literals |
- static const map1 = const {"a":1, "b":2}; |
+ static const map1 = const {"a": 1, "b": 2}; |
// Test construction of static const map literals, with numbers |
- static const map2 = const {"1":1, "2":2}; |
+ static const map2 = const {"1": 1, "2": 2}; |
test() { |
Expect.equals(1, map1["a"]); |
@@ -57,12 +57,12 @@ class StaticInit { |
} |
class ConstInit { |
- |
final map1; |
final map2; |
- ConstInit() : this.map1 = {"a":1, "b":2}, this.map2 = {"1":1, "2":2} { |
- } |
+ ConstInit() |
+ : this.map1 = {"a": 1, "b": 2}, |
+ this.map2 = {"1": 1, "2": 2} {} |
test() { |
Expect.equals(1, map1["a"]); |