| Index: tests/corelib/print_test.dart
|
| diff --git a/tests/lib/mirrors/unmangled_type_test.dart b/tests/corelib/print_test.dart
|
| similarity index 61%
|
| copy from tests/lib/mirrors/unmangled_type_test.dart
|
| copy to tests/corelib/print_test.dart
|
| index dbc6b62437908677c6fb6c1dab670b8d0dd7d2b6..7139d75e2f7c498b6317a3c6df52158a186dbdbd 100644
|
| --- a/tests/lib/mirrors/unmangled_type_test.dart
|
| +++ b/tests/corelib/print_test.dart
|
| @@ -2,14 +2,20 @@
|
| // 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.
|
|
|
| -import 'dart:mirrors';
|
| -
|
| import 'package:expect/expect.dart';
|
|
|
| -class Foo {
|
| +class A {
|
| + toString() {
|
| + if (false
|
| + || true /// 01: runtime error
|
| + ) {
|
| + return 499;
|
| + } else {
|
| + return "ok";
|
| + }
|
| + }
|
| }
|
|
|
| main() {
|
| - Expect.stringEquals('Foo', '${new Foo().runtimeType}');
|
| - Expect.stringEquals('foo', MirrorSystem.getName(new Symbol('foo')));
|
| + print(new A());
|
| }
|
|
|