| Index: tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_used_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_used_test.dart b/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_used_test.dart
|
| index c5b752c1c94030a7eb847f2e899107c20dd4e22f..991934d67ac29f29ce7682be2640bdb595fd0db3 100644
|
| --- a/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_used_test.dart
|
| +++ b/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_used_test.dart
|
| @@ -12,17 +12,21 @@ import 'package:expect/expect.dart';
|
| @MirrorsUsed(targets: const [A])
|
| import 'dart:mirrors';
|
|
|
| -class A{}
|
| -class B{}
|
| +class A {}
|
| +
|
| +class B {}
|
| +
|
| const map = const LookupMap(const [
|
| - A, "the-text-for-A",
|
| - B, "the-text-for-B",
|
| + A,
|
| + "the-text-for-A",
|
| + B,
|
| + "the-text-for-B",
|
| ]);
|
|
|
| main() {
|
| // `A` is included by @MirrorsUsed, so its entry is retained too.
|
| - LibraryMirror lib = currentMirrorSystem().findLibrary(
|
| - #live_entry_through_mirrors_used_test);
|
| + LibraryMirror lib =
|
| + currentMirrorSystem().findLibrary(#live_entry_through_mirrors_used_test);
|
| ClassMirror aClass = lib.declarations[#A];
|
| Expect.equals(map[aClass.reflectedType], "the-text-for-A");
|
| }
|
|
|