| Index: tests/lib_2/mirrors/delegate_function_invocation_test.dart
|
| diff --git a/tests/lib_strong/mirrors/delegate_function_invocation_test.dart b/tests/lib_2/mirrors/delegate_function_invocation_test.dart
|
| similarity index 85%
|
| rename from tests/lib_strong/mirrors/delegate_function_invocation_test.dart
|
| rename to tests/lib_2/mirrors/delegate_function_invocation_test.dart
|
| index d7398ad968ff16ae5753df2875750cad6103c31a..5fe88f4bfb1576826ba8db944a9f70e58bf6ae37 100644
|
| --- a/tests/lib_strong/mirrors/delegate_function_invocation_test.dart
|
| +++ b/tests/lib_2/mirrors/delegate_function_invocation_test.dart
|
| @@ -15,7 +15,7 @@ class Proxy {
|
| }
|
|
|
| testClosure() {
|
| - var proxy = new Proxy(() => 42);
|
| + dynamic proxy = new Proxy(() => 42);
|
| Expect.equals(42, proxy());
|
| Expect.equals(42, proxy.call());
|
| }
|
| @@ -25,7 +25,7 @@ class FakeFunction {
|
| }
|
|
|
| testFakeFunction() {
|
| - var proxy = new Proxy(new FakeFunction());
|
| + dynamic proxy = new Proxy(new FakeFunction());
|
| Expect.equals(43, proxy());
|
| Expect.equals(43, proxy.call());
|
| }
|
| @@ -33,7 +33,7 @@ testFakeFunction() {
|
| topLevelFunction() => 44;
|
|
|
| testTopLevelTearOff() {
|
| - var proxy = new Proxy(topLevelFunction);
|
| + dynamic proxy = new Proxy(topLevelFunction);
|
| Expect.equals(44, proxy());
|
| Expect.equals(44, proxy.call());
|
| }
|
| @@ -43,7 +43,7 @@ class C {
|
| }
|
|
|
| testInstanceTearOff() {
|
| - var proxy = new Proxy(new C().method);
|
| + dynamic proxy = new Proxy(new C().method);
|
| Expect.equals(45, proxy());
|
| Expect.equals(45, proxy.call());
|
| }
|
|
|