| Index: tests/lib/mirrors/invoke_closurization_test.dart
|
| diff --git a/tests/lib/mirrors/invoke_closurization_test.dart b/tests/lib/mirrors/invoke_closurization_test.dart
|
| index 28cdd567ff0d6a1d1dd715b9715ef91696313f06..10391611b4ce761d57c6b33af29ca6ff8bb5338e 100644
|
| --- a/tests/lib/mirrors/invoke_closurization_test.dart
|
| +++ b/tests/lib/mirrors/invoke_closurization_test.dart
|
| @@ -35,33 +35,6 @@ testSync() {
|
| Expect.equals("A:B:C", result.reflectee('A', 'B', 'C'));
|
| }
|
|
|
| -testAsync() {
|
| - var future;
|
| -
|
| - C c = new C();
|
| - InstanceMirror im = reflect(c);
|
| - future = im.getFieldAsync(#instanceMethod);
|
| - expectValueThen(future, (result) {
|
| - Expect.isTrue(result.reflectee is Function, "Should be closure");
|
| - Expect.equals("A+B+C", result.reflectee('A', 'B', 'C'));
|
| - });
|
| -
|
| - ClassMirror cm = reflectClass(C);
|
| - future = cm.getFieldAsync(#staticFunction);
|
| - expectValueThen(future, (result) {
|
| - Expect.isTrue(result.reflectee is Function, "Should be closure");
|
| - Expect.equals("A-B-C", result.reflectee('A', 'B', 'C'));
|
| - });
|
| -
|
| - LibraryMirror lm = cm.owner;
|
| - future = lm.getFieldAsync(#libraryFunction);
|
| - expectValueThen(future, (result) {
|
| - Expect.isTrue(result.reflectee is Function, "Should be closure");
|
| - Expect.equals("A:B:C", result.reflectee('A', 'B', 'C'));
|
| - });
|
| -}
|
| -
|
| main() {
|
| testSync();
|
| - testAsync();
|
| }
|
|
|