Index: tests/language/const_map2_test.dart |
diff --git a/tests/language/const_map2_test.dart b/tests/language/const_map2_test.dart |
index dccddb0aec56f7bc770457de4ff05f31e3e5d79c..16c873c42abc924d7371e8740fdb708ef2cacdd0 100644 |
--- a/tests/language/const_map2_test.dart |
+++ b/tests/language/const_map2_test.dart |
@@ -14,15 +14,14 @@ class B implements A { |
operator ==(o) => true; // //# 00: compile-time error |
} |
-@NoInline() |
-@AssumeDynamic() |
+@NoInline() @AssumeDynamic() |
confuse(x) => 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())]); |
} |