| Index: tests/lib/mirrors/closurization_equivalence_test.dart
|
| diff --git a/tests/lib/mirrors/closurization_equivalence_test.dart b/tests/lib/mirrors/closurization_equivalence_test.dart
|
| index 2c36242c23da6a88276e6cd2dc5c3ca6c2d5f75a..d3617de2608cf16e17b07b0a5b9b6e736533fbe0 100644
|
| --- a/tests/lib/mirrors/closurization_equivalence_test.dart
|
| +++ b/tests/lib/mirrors/closurization_equivalence_test.dart
|
| @@ -9,6 +9,7 @@ import 'dart:mirrors';
|
| import 'package:expect/expect.dart';
|
|
|
| topLevelMethod() {}
|
| +
|
| class C {
|
| static staticMethod() {}
|
| instanceMethod() {}
|
| @@ -17,14 +18,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");
|
| }
|
|
|