Index: tests/lib/mirrors/metadata_constructed_constant_test.dart |
diff --git a/tests/lib/mirrors/metadata_constructed_constant_test.dart b/tests/lib/mirrors/metadata_constructed_constant_test.dart |
index 0d5e01e709132d955da312a77b86958eb445995d..2b4cc42ff2a5b8446807c331c8bace9c3687930e 100644 |
--- a/tests/lib/mirrors/metadata_constructed_constant_test.dart |
+++ b/tests/lib/mirrors/metadata_constructed_constant_test.dart |
@@ -21,6 +21,6 @@ class Foo { |
main() { |
var value = |
- reflectClass(Foo).methods[#m].metadata.single.reflectee; |
+ reflectClass(Foo).declarations[#m].metadata.single.reflectee; |
Expect.stringEquals('ConstructedConstant($StateError)', '$value'); |
} |