| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index 0082b53564fd947b102a8aae9c72da1fa211ff4c..3eca07c298c76a925ae508b6dee34fe71ebd8300 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -187,16 +187,9 @@ testVariableDefinitions() {
|
| // Class member of typedef-ed function type.
|
| // Maybe typedef should be included in the result too, but it
|
| // works fine without it.
|
| - testDart2Dart('typedef void foofunc(arg);'
|
| - 'class A {'
|
| - 'final foofunc handler;'
|
| - 'A(foofunc this.handler);'
|
| - '}'
|
| - 'main() {new A((arg) {});}', (result) {
|
| - Expect.equals(
|
| - 'main(){new A((arg){});}'
|
| - 'class A{A(foofunc this.handler);final foofunc handler;}', result);
|
| - });
|
| + testDart2Dart(
|
| + 'main(){new A((arg){});}typedef void foofunc(arg);'
|
| + 'class A{A(foofunc this.handler);final foofunc handler;}');
|
| }
|
|
|
| testGetSet() {
|
|
|