Chromium Code Reviews| 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..faaa5b10ab4c14a787698a6a8f5660ca202bf2f8 100644 |
| --- a/tests/compiler/dart2js/unparser_test.dart |
| +++ b/tests/compiler/dart2js/unparser_test.dart |
| @@ -94,6 +94,10 @@ testPrefixIncrements() { |
| testUnparse('++a[++b[i]];'); |
| } |
| +testConstParameterModifier() { |
|
Anton Muhin
2012/07/06 10:22:46
please, add tests for:
foo([var a = const {}]) {}
Roman
2012/07/06 11:46:05
Done. And I reverted the case for NewExpression.
|
| + testUnparse('foo([var a=const []]){}'); |
| +} |
| + |
| testSimpleFileUnparse() { |
| final src = ''' |
| should_be_dropped() { |
| @@ -119,5 +123,6 @@ main() { |
| testIndexedOperatorDecl(); |
| testNativeMethods(); |
| testPrefixIncrements(); |
| + testConstParameterModifier(); |
| testSimpleFileUnparse(); |
| } |