Index: runtime/tests/vm/dart/mirrored_compilation_error_test.dart |
diff --git a/runtime/tests/vm/dart/mirrored_compilation_error_test.dart b/runtime/tests/vm/dart/mirrored_compilation_error_test.dart |
index b661afe6517d24884b3a04bacd1c8e0f7b23ad73..7be51d305fd96cf4ae81ae25bce4576034e6bb0c 100644 |
--- a/runtime/tests/vm/dart/mirrored_compilation_error_test.dart |
+++ b/runtime/tests/vm/dart/mirrored_compilation_error_test.dart |
@@ -64,9 +64,9 @@ main() { |
raises(() => reflectClass(Class).metadata); |
raises(() => reflectClass(Class).typeVariables.single.metadata); |
- raises(() => reflectClass(Class).variables[#field].metadata); |
- raises(() => reflectClass(Class).methods[#method].metadata); |
- raises(() => reflectClass(Class).methods[#method].parameters.single.metadata); |
+ raises(() => reflectClass(Class).declarations[#field].metadata); |
+ raises(() => reflectClass(Class).declarations[#method].metadata); |
+ raises(() => reflectClass(Class).declarations[#method].parameters.single.metadata); |
raises(() => reflectClass(Class).owner.metadata); |