Index: tests/lib/mirrors/static_test.dart |
=================================================================== |
--- tests/lib/mirrors/static_test.dart (revision 30028) |
+++ tests/lib/mirrors/static_test.dart (working copy) |
@@ -17,13 +17,13 @@ |
void main() { |
expect('Variable(s(aux) in s(Foo))', |
- reflectClass(Foo).declarations[new Symbol('aux')]); |
+ reflectClass(Foo).members[new Symbol('aux')]); |
expect('Method(s(baz) in s(Foo))', |
- reflectClass(Foo).declarations[new Symbol('baz')]); |
+ reflectClass(Foo).members[new Symbol('baz')]); |
expect('<null>', |
- reflectClass(Foo).declarations[new Symbol('aux=')]); |
+ reflectClass(Foo).setters[new Symbol('aux=')]); |
expect('Method(s(foo) in s(Foo), static)', |
- reflectClass(Foo).declarations[new Symbol('foo')]); |
+ reflectClass(Foo).members[new Symbol('foo')]); |
expect('Variable(s(bar) in s(Foo), static)', |
- reflectClass(Foo).declarations[new Symbol('bar')]); |
+ reflectClass(Foo).members[new Symbol('bar')]); |
} |