Index: tests/lib/mirrors/metadata_test.dart |
=================================================================== |
--- tests/lib/mirrors/metadata_test.dart (revision 23686) |
+++ tests/lib/mirrors/metadata_test.dart (working copy) |
@@ -17,6 +17,7 @@ |
class MyClass { |
@hest @hest @symbol |
var x; |
+ var y; |
@string @symbol @string |
myMethod() => 1; |
@@ -62,5 +63,8 @@ |
VariableMirror xMirror = myClassMirror.variables[const Symbol('x')]; |
checkMetadata(xMirror, [hest, hest, symbol]); |
+ VariableMirror yMirror = myClassMirror.variables[const Symbol('y')]; |
+ checkMetadata(yMirror, []); |
+ |
// TODO(ahe): Test local functions. |
} |