Index: tests/language/const_map_test.dart |
diff --git a/tests/language/const_map_test.dart b/tests/language/const_map_test.dart |
index 9cc0d5b40f9874d1fbd304e251edbe05456e366c..8e9314088bf74339f36a75798165252faad7dd58 100644 |
--- a/tests/language/const_map_test.dart |
+++ b/tests/language/const_map_test.dart |
@@ -7,14 +7,15 @@ import "package:expect/expect.dart"; |
/// Returns its argument. |
/// |
/// Prevents static optimizations and inlining. |
-@NoInline() @AssumeDynamic() |
+@NoInline() |
+@AssumeDynamic() |
confuse(x) => x; |
main() { |
// Make sure that const maps use the == operator and not identical. The |
// specification does not explicitly require it, but otherwise ints and |
// Strings wouldn't make much sense as keys. |
- var m = const { 1: 42, "foo": 499 }; |
+ var m = const {1: 42, "foo": 499}; |
Expect.equals(42, m[confuse(1.0)]); |
Expect.equals(499, m[confuse(new String.fromCharCodes("foo".runes))]); |
} |