| Index: tests/lib/mirrors/generics_test.dart
|
| diff --git a/tests/lib/mirrors/generics_test.dart b/tests/lib/mirrors/generics_test.dart
|
| index e5e2c2ff179481d714f86b626c9d2d44c6f16915..a3a7ab8714161718f43938060bf8204048e2e06c 100644
|
| --- a/tests/lib/mirrors/generics_test.dart
|
| +++ b/tests/lib/mirrors/generics_test.dart
|
| @@ -19,16 +19,12 @@ class H<A,B,C> {}
|
|
|
| typeParameters(mirror, parameterNames) {
|
| Expect.listEquals(parameterNames.map((n) => new Symbol(n)).toList(),
|
| - mirror.typeVariables.keys.toList());
|
| + mirror.typeVariables.map((v) => v.simpleName).toList());
|
| }
|
|
|
| typeArguments(mirror, argumentMirrors) {
|
| Expect.listEquals(argumentMirrors,
|
| - mirror.typeArguments.values.toList());
|
| - if (!mirror.isOriginalDeclaration) {
|
| - Expect.listEquals(mirror.typeVariables.keys.toList(),
|
| - mirror.typeArguments.keys.toList());
|
| - }
|
| + mirror.typeArguments);
|
| }
|
|
|
| main() {
|
|
|