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

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

Issue 236313012: Don't hide interceptors in mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 8 months 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/null_test.dart ('k') | tests/lib/mirrors/runtime_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/parameter_test.dart
diff --git a/tests/lib/mirrors/parameter_test.dart b/tests/lib/mirrors/parameter_test.dart
index c9e5f939c11e6c451ad84aad28dd1369934cd4c9..4eb6ad596432523ba8d400ee2f55e28872861e2b 100644
--- a/tests/lib/mirrors/parameter_test.dart
+++ b/tests/lib/mirrors/parameter_test.dart
@@ -11,7 +11,7 @@
/** Test of [ParameterMirror]. */
library test.parameter_test;
-@MirrorsUsed(targets: 'test.parameter_test', override: '*')
+@MirrorsUsed(targets: const ['test.parameter_test', 'dart.core.int'], override: '*')
import 'dart:mirrors';
import 'package:expect/expect.dart';
@@ -153,7 +153,7 @@ main() {
MethodMirror waldo = cm.declarations[#waldo];
expect('Method(s(waldo) in s(B))', waldo);
- expect('[Parameter(s(z) in s(waldo),'
+ expect('[Parameter(s(z) in s(waldo),'
' type = Class(s(int) in s(dart.core), top-level))]',
waldo.parameters);
expect('<null>', waldo.parameters[0].defaultValue);
« no previous file with comments | « tests/lib/mirrors/null_test.dart ('k') | tests/lib/mirrors/runtime_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698