| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index a810b34caa79d267c299f7eb65ded1f4d077f234..112bc2fae70f0f55e3dc514774c451e309042fd4 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -94,6 +94,13 @@ testPrefixIncrements() {
|
| testUnparse('++a[++b[i]];');
|
| }
|
|
|
| +testConstModifier() {
|
| + testUnparse('foo([var a=const []]){}');
|
| + testUnparse('foo([var a=const{}]){}');
|
| + testUnparse('foo(){var a=const []; var b=const{};}');
|
| + testUnparse('foo([var a=const [const{"a": const [1, 2, 3]}]]){}');
|
| +}
|
| +
|
| testSimpleFileUnparse() {
|
| final src = '''
|
| should_be_dropped() {
|
| @@ -119,5 +126,6 @@ main() {
|
| testIndexedOperatorDecl();
|
| testNativeMethods();
|
| testPrefixIncrements();
|
| + testConstModifier();
|
| testSimpleFileUnparse();
|
| }
|
|
|