| Index: tests/language/compile_time_constant_o_test.dart
|
| diff --git a/tests/language/compile_time_constant_o_test.dart b/tests/language/compile_time_constant_o_test.dart
|
| index c7a5afc533e9b80d2cce8eb9d937060a7955f210..cbc9dfdad801b2a0eb93cfcce03521dc85e1d1b1 100644
|
| --- a/tests/language/compile_time_constant_o_test.dart
|
| +++ b/tests/language/compile_time_constant_o_test.dart
|
| @@ -6,20 +6,22 @@
|
| import "package:expect/expect.dart";
|
|
|
| const str = "foo";
|
| -const m1 = const { "foo": 499 };
|
| -const m2 = const { "$str": 499 };
|
| +const m1 = const {"foo": 499};
|
| +const m2 = const {"$str": 499};
|
| const m3 = const {
|
| "$str": 42, //# 01: static type warning
|
| - "foo": 499 };
|
| + "foo": 499
|
| +};
|
| const m4 = const {
|
| "foo": 42, //# 02: static type warning
|
| - "$str": 499 };
|
| -const m5 = const { "f" "o" "o": 499 };
|
| + "$str": 499
|
| +};
|
| +const m5 = const {"f" "o" "o": 499};
|
|
|
| -const mm1 = const { "afoo#foo": 499 };
|
| -const mm2 = const { "a$str#$str": 499 };
|
| -const mm3 = const { "a" "$str" "#" "foo": 499 };
|
| -const mm4 = const { "a$str" "#$str": 499 };
|
| +const mm1 = const {"afoo#foo": 499};
|
| +const mm2 = const {"a$str#$str": 499};
|
| +const mm3 = const {"a" "$str" "#" "foo": 499};
|
| +const mm4 = const {"a$str" "#$str": 499};
|
|
|
| main() {
|
| Expect.equals(1, m1.length);
|
|
|