Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1346)

Unified Diff: tests/lib_2/mirrors/delegate_function_invocation_test.dart

Issue 3011633002: Added back helper file accidentally deleted during test block 219 migration. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib_2/mirrors/delegate_class_test.dart ('k') | tests/lib_2/mirrors/delegate_library_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « tests/lib_2/mirrors/delegate_class_test.dart ('k') | tests/lib_2/mirrors/delegate_library_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698