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

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

Issue 3003123002: Migrated test block 219 to Dart 2.0. (Closed)
Patch Set: Deleted files that were already merged. 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
Index: tests/lib_2/mirrors/delegate_call_through_getter_test.dart
diff --git a/tests/lib_strong/mirrors/delegate_call_through_getter_test.dart b/tests/lib_2/mirrors/delegate_call_through_getter_test.dart
similarity index 92%
rename from tests/lib_strong/mirrors/delegate_call_through_getter_test.dart
rename to tests/lib_2/mirrors/delegate_call_through_getter_test.dart
index cdc84fcde26e66c4a3d598282b20a264e4b8bd2f..647c2f9a91fd892dff0fe87889ba690101dc1d21 100644
--- a/tests/lib_strong/mirrors/delegate_call_through_getter_test.dart
+++ b/tests/lib_2/mirrors/delegate_call_through_getter_test.dart
@@ -29,11 +29,11 @@ class C {
}
class Forwarder {
- noSuchMethod(msg) => reflect(new C()).delegate(msg);
+ dynamic noSuchMethod(Invocation msg) => reflect(new C()).delegate(msg);
}
main() {
- var f = new Forwarder();
+ dynamic f = new Forwarder();
Expect.equals('1 5 6', f.fakeFunctionCall(5, 6));
Expect.equals('7, 8', f.fakeFunctionNSM(7, 8));

Powered by Google App Engine
This is Rietveld 408576698