| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index 21da79b99d316731910ea721fde3a62edfb4e732..a16d892b3ff73b36a17026e9d167083757a51d04 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -89,12 +89,19 @@ testNativeMethods() {
|
| }
|
|
|
| testSimpleFileUnparse() {
|
| - testDart2Dart('main() {}', (String s) {
|
| - Expect.equals(
|
| -'''main() {
|
| - final bailout_reason = "I can do nothing right now.";
|
| + final src = '''
|
| +should_be_dropped() {
|
| }
|
| -''', s);
|
| +
|
| +should_be_kept() {
|
| +}
|
| +
|
| +main() {
|
| + should_be_kept();
|
| +}
|
| +''';
|
| + testDart2Dart(src, (String s) {
|
| + Expect.equals('should_be_kept(){}main(){should_be_kept();}', s);
|
| });
|
| }
|
|
|
|
|