Index: tests/language_strong/const_map2_test.dart |
diff --git a/tests/language_strong/const_map2_test.dart b/tests/language_strong/const_map2_test.dart |
index bc0cbb984633cf3fa33dac634bd2cf220ba5e126..e4bb56d6d1f7153ca277480a57e9bad66e6a32b8 100644 |
--- a/tests/language_strong/const_map2_test.dart |
+++ b/tests/language_strong/const_map2_test.dart |
@@ -21,9 +21,9 @@ confuse(x) { |
main() { |
// It is a compile-time error if the key type overrides operator ==. |
- var m = const {const A(): 42}; |
+ var m = const { const A(): 42 }; |
Expect.equals(42, m[confuse(const B())]); |
- m = const {"foo": 99, const A(): 499}; |
+ m = const { "foo": 99, const A(): 499 }; |
Expect.equals(499, m[confuse(const B())]); |
} |