| Index: tests/lib/mirrors/metadata_test.dart
|
| diff --git a/tests/lib/mirrors/metadata_test.dart b/tests/lib/mirrors/metadata_test.dart
|
| index 6db3e5528e479c47714a7fa426400a0161efd955..164a5ae011ce52b600c0724f96a121f72a33197f 100644
|
| --- a/tests/lib/mirrors/metadata_test.dart
|
| +++ b/tests/lib/mirrors/metadata_test.dart
|
| @@ -20,6 +20,7 @@ class MyClass {
|
|
|
| @string @symbol @string
|
| myMethod() => 1;
|
| + myOtherMethod() => 2;
|
| }
|
|
|
| checkMetadata(DeclarationMirror mirror, List expectedMetadata) {
|
| @@ -57,6 +58,8 @@ main() {
|
| checkMetadata(function, [symbol, string, symbol]);
|
| MethodMirror method = myClassMirror.methods[const Symbol('myMethod')];
|
| checkMetadata(method, [string, symbol, string]);
|
| + method = myClassMirror.methods[const Symbol('myOtherMethod')];
|
| + checkMetadata(method, []);
|
|
|
| VariableMirror xMirror = myClassMirror.variables[const Symbol('x')];
|
| checkMetadata(xMirror, [hest, hest, symbol]);
|
|
|