| 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 10391611b4ce761d57c6b33af29ca6ff8bb5338e..0b25ff0193936647f70fcc80e4f9aa88fd2ae52b 100644
|
| --- a/tests/lib/mirrors/invoke_closurization_test.dart
|
| +++ b/tests/lib/mirrors/invoke_closurization_test.dart
|
| @@ -7,7 +7,6 @@ library test.invoke_closurization_test;
|
| import 'dart:mirrors';
|
|
|
| import 'package:expect/expect.dart';
|
| -import 'invoke_test.dart';
|
|
|
| class C {
|
| instanceMethod(x, y, z) => '$x+$y+$z';
|
| @@ -25,14 +24,14 @@ testSync() {
|
| Expect.equals("A+B+C", result.reflectee('A', 'B', 'C'));
|
|
|
| ClassMirror cm = reflectClass(C);
|
| - result = cm.getField(#staticFunction);
|
| - Expect.isTrue(result.reflectee is Function, "Should be closure");
|
| - Expect.equals("A-B-C", result.reflectee('A', 'B', 'C'));
|
| + result = cm.getField(#staticFunction); /// static: ok
|
| + Expect.isTrue(result.reflectee is Function, "Should be closure"); /// static: continued
|
| + Expect.equals("A-B-C", result.reflectee('A', 'B', 'C')); /// static: continued
|
|
|
| LibraryMirror lm = cm.owner;
|
| - result = lm.getField(#libraryFunction);
|
| - Expect.isTrue(result.reflectee is Function, "Should be closure");
|
| - Expect.equals("A:B:C", result.reflectee('A', 'B', 'C'));
|
| + result = lm.getField(#libraryFunction); /// static: continued
|
| + Expect.isTrue(result.reflectee is Function, "Should be closure"); /// static: continued
|
| + Expect.equals("A:B:C", result.reflectee('A', 'B', 'C')); /// static: continued
|
| }
|
|
|
| main() {
|
|
|