Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: tests/lib/mirrors/inherit_field_test.dart

Issue 64793003: Update mirror tests for removed API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/mirrors/immutable_collections_test.dart ('k') | tests/lib/mirrors/initializing_formals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/inherit_field_test.dart
diff --git a/tests/lib/mirrors/inherit_field_test.dart b/tests/lib/mirrors/inherit_field_test.dart
index 8fc1e5e5451379420d3596ca883c230bb8cbe927..9fd83096579b17fb09df25540a94051f194710cb 100644
--- a/tests/lib/mirrors/inherit_field_test.dart
+++ b/tests/lib/mirrors/inherit_field_test.dart
@@ -19,7 +19,7 @@ class Bar extends Foo {
void main() {
expect('Variable(s(field) in s(Foo))',
- reflectClass(Foo).members[#field]);
+ reflectClass(Foo).declarations[#field]);
expect('<null>',
- reflectClass(Bar).members[#field]);
+ reflectClass(Bar).declarations[#field]);
}
« no previous file with comments | « tests/lib/mirrors/immutable_collections_test.dart ('k') | tests/lib/mirrors/initializing_formals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698