| Index: tests/lib/mirrors/library_metatarget_test.dart
|
| diff --git a/tests/lib/mirrors/abstract_test.dart b/tests/lib/mirrors/library_metatarget_test.dart
|
| similarity index 50%
|
| copy from tests/lib/mirrors/abstract_test.dart
|
| copy to tests/lib/mirrors/library_metatarget_test.dart
|
| index 39923639e08b8a559e2de07d8e825a78c6a994eb..8bbb64ff03c4dd320b444f92512963e983a243ff 100644
|
| --- a/tests/lib/mirrors/abstract_test.dart
|
| +++ b/tests/lib/mirrors/library_metatarget_test.dart
|
| @@ -2,18 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Test abstract classes are retained.
|
| +// Regression test for the combined use of metatargets and library tags.
|
|
|
| -library test.abstract_test;
|
| +library topLib;
|
|
|
| -import 'dart:mirrors';
|
| -
|
| -import 'stringify.dart';
|
| +import 'library_metatarget_test_lib.dart';
|
| +import 'library_metatarget_test_annotations_lib.dart';
|
|
|
| -abstract class Foo {
|
| -}
|
| +@MirrorsUsed(metaTargets:const [Reflectable])
|
| +import 'dart:mirrors';
|
|
|
| void main() {
|
| - expect('Class(s(Foo) in s(test.abstract_test), top-level)',
|
| - reflectClass(Foo));
|
| + print(new A());
|
| }
|
|
|