| Index: dart/tests/lib/mirrors/unmangled_type_test.dart
|
| diff --git a/dart/tests/lib/mirrors/unnamed_library_test.dart b/dart/tests/lib/mirrors/unmangled_type_test.dart
|
| similarity index 67%
|
| copy from dart/tests/lib/mirrors/unnamed_library_test.dart
|
| copy to dart/tests/lib/mirrors/unmangled_type_test.dart
|
| index 1e81eaab1284ae5b7f1d4973bfc114ce4572c471..dbc6b62437908677c6fb6c1dab670b8d0dd7d2b6 100644
|
| --- a/dart/tests/lib/mirrors/unnamed_library_test.dart
|
| +++ b/dart/tests/lib/mirrors/unmangled_type_test.dart
|
| @@ -2,14 +2,14 @@
|
| // 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.
|
|
|
| -// No library declaration.
|
| -
|
| import 'dart:mirrors';
|
|
|
| import 'package:expect/expect.dart';
|
|
|
| -class C {}
|
| +class Foo {
|
| +}
|
|
|
| main() {
|
| - Expect.equals(const Symbol(""), reflectClass(C).owner.simpleName);
|
| + Expect.stringEquals('Foo', '${new Foo().runtimeType}');
|
| + Expect.stringEquals('foo', MirrorSystem.getName(new Symbol('foo')));
|
| }
|
|
|