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

Unified Diff: tests/lib/mirrors/regress_14304_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/reflect_uninstantiated_class_test.dart ('k') | tests/lib/mirrors/removed_api_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/regress_14304_test.dart
diff --git a/tests/lib/mirrors/regress_14304_test.dart b/tests/lib/mirrors/regress_14304_test.dart
index e63cae08dcfd46e7652246732cff0295dddf0608..af974a40fb5f82d4b7c83a66893d8bfa9d09a69e 100644
--- a/tests/lib/mirrors/regress_14304_test.dart
+++ b/tests/lib/mirrors/regress_14304_test.dart
@@ -14,7 +14,7 @@ class A<T> {
main() {
ClassMirror a = reflectClass(A);
TypeVariableMirror t = a.typeVariables[0];
- MethodMirror m = a.methods.values.single;
+ MethodMirror m = a.declarations[#m];
Expect.equals(t, m.returnType);
}
« no previous file with comments | « tests/lib/mirrors/reflect_uninstantiated_class_test.dart ('k') | tests/lib/mirrors/removed_api_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698