| Index: tests/lib_strong/mirrors/closurization_equivalence_test.dart
|
| diff --git a/tests/lib_strong/mirrors/closurization_equivalence_test.dart b/tests/lib_strong/mirrors/closurization_equivalence_test.dart
|
| index 0701fc7a6969ad18317f68116b9f9aba8e135561..2ac9161fb1724dbababd1f4f3b6c90e5dc908a4d 100644
|
| --- a/tests/lib_strong/mirrors/closurization_equivalence_test.dart
|
| +++ b/tests/lib_strong/mirrors/closurization_equivalence_test.dart
|
| @@ -6,6 +6,7 @@ import 'dart:mirrors';
|
| import 'package:expect/expect.dart';
|
|
|
| topLevelMethod() {}
|
| +
|
| class C {
|
| static staticMethod() {}
|
| instanceMethod() {}
|
| @@ -14,14 +15,11 @@ class C {
|
| main() {
|
| LibraryMirror thisLibrary = reflectClass(C).owner;
|
| Expect.equals(thisLibrary.declarations[#topLevelMethod],
|
| - (reflect(topLevelMethod) as ClosureMirror).function,
|
| - "topLevel");
|
| + (reflect(topLevelMethod) as ClosureMirror).function, "topLevel");
|
|
|
| Expect.equals(reflectClass(C).declarations[#staticMethod],
|
| - (reflect(C.staticMethod) as ClosureMirror).function,
|
| - "static");
|
| + (reflect(C.staticMethod) as ClosureMirror).function, "static");
|
|
|
| Expect.equals(reflectClass(C).declarations[#instanceMethod],
|
| - (reflect(new C().instanceMethod) as ClosureMirror).function,
|
| - "instance");
|
| + (reflect(new C().instanceMethod) as ClosureMirror).function, "instance");
|
| }
|
|
|