| Index: tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
|
| diff --git a/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart b/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
|
| index a8616b4168e1b7687b49381d69721f45c029ac4a..33b8ea374be32040511cdb79428449f2456da091 100644
|
| --- a/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
|
| +++ b/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
|
| @@ -10,8 +10,7 @@ import 'compiler_helper.dart';
|
| main() {
|
| test("unreachable code doesn't crash the compiler", () async {
|
| // This test is a regression for Issue #24974
|
| - String generated = await compile(
|
| - """
|
| + String generated = await compile("""
|
| import 'package:js/js.dart';
|
|
|
| @JS() @anonymous
|
| @@ -19,8 +18,7 @@ main() {
|
| external factory UniqueLongNameForTesting_A();
|
| }
|
| main() {}
|
| - """,
|
| - returnAll: true);
|
| + """, returnAll: true);
|
|
|
| // the code should not be included in the output either.
|
| expect(generated, isNot(contains("UniqueLongNameForTesting_A")));
|
|
|