Index: tests/lib/mirrors/generics_test.dart |
diff --git a/tests/lib/mirrors/generics_test.dart b/tests/lib/mirrors/generics_test.dart |
index ec2d49a38946ad990dda14d9fe0656d8a3835f8a..e870085514d29491eaac3b238f5f1ffa4ac4c24a 100644 |
--- a/tests/lib/mirrors/generics_test.dart |
+++ b/tests/lib/mirrors/generics_test.dart |
@@ -145,9 +145,8 @@ main() { |
// Library members are all uninstantaited generics or non-generics. |
currentMirrorSystem().libraries.values.forEach((libraryMirror) { |
- libraryMirror.classes.values.forEach((classMirror) { |
- // Generic typedefs are considered in a separate test. |
- if (classMirror is! TypedefMirror) { |
+ libraryMirror.declarations.values.forEach((classMirror) { |
gbracha
2013/11/04 23:41:38
Somehow I feel that it is bad style to name the va
rmacnak
2013/11/06 01:28:35
Done.
|
+ if (classMirror is ClassMirror) { |
Expect.isTrue(classMirror.isOriginalDeclaration); |
Expect.equals(classMirror, classMirror.originalDeclaration); |
} |