| Index: tests/lib/mirrors/private_symbol_test.dart
|
| diff --git a/tests/lib/mirrors/private_symbol_test.dart b/tests/lib/mirrors/private_symbol_test.dart
|
| index cc5527ef412dcc62b5601c59e70e2527d09134c1..884177f2f5be857c2eb9f4529919b8ea427767d0 100644
|
| --- a/tests/lib/mirrors/private_symbol_test.dart
|
| +++ b/tests/lib/mirrors/private_symbol_test.dart
|
| @@ -65,7 +65,6 @@ main() {
|
|
|
| Expect.equals(test_foo, #_foo);
|
|
|
| -
|
| // Test interactions with the manglings for getters and setters, etc.
|
| ClassMirror cm = reflectClass(_C);
|
| Expect.equals(#_C, cm.simpleName);
|
| @@ -120,15 +119,14 @@ main() {
|
| Expect.equals(#_p, pm.simpleName);
|
| Expect.equals('_p', MirrorSystem.getName(pm.simpleName));
|
|
|
| -
|
| // Private symbol without a library.
|
| - Expect.throws(() => MirrorSystem.getSymbol('_private'),
|
| - (e) => e is ArgumentError);
|
| + Expect.throws(
|
| + () => MirrorSystem.getSymbol('_private'), (e) => e is ArgumentError);
|
|
|
| var notALibraryMirror = 7;
|
| Expect.throws(() => MirrorSystem.getSymbol('_private', notALibraryMirror),
|
| - (e) => e is ArgumentError || e is TypeError);
|
| + (e) => e is ArgumentError || e is TypeError);
|
|
|
| Expect.throws(() => MirrorSystem.getSymbol('public', notALibraryMirror),
|
| - (e) => e is ArgumentError || e is TypeError);
|
| + (e) => e is ArgumentError || e is TypeError);
|
| }
|
|
|