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

Unified Diff: tests/lib_2/mirrors/delegate_class_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_class_test.dart
diff --git a/tests/lib_strong/mirrors/delegate_class_test.dart b/tests/lib_2/mirrors/delegate_class_test.dart
similarity index 94%
rename from tests/lib_strong/mirrors/delegate_class_test.dart
rename to tests/lib_2/mirrors/delegate_class_test.dart
index d90e57cd02412f5bf15d95bdb74d49b0270b6c12..83ee8f079d3e2ed092bf236545818056e0e3ba17 100644
--- a/tests/lib_strong/mirrors/delegate_class_test.dart
+++ b/tests/lib_2/mirrors/delegate_class_test.dart
@@ -15,7 +15,6 @@ class C {
static get getter => 'g';
static set setter(x) {
field = x * 2;
- return 'unobservable value';
rmacnak 2017/08/22 16:59:51 This must be kept. If this is not expressible in
Bob Nystrom 2017/08/23 22:22:07 According to the Dart 2.0 language, the static ret
rmacnak 2017/08/23 23:32:04 This behavior is not VM-specific and is well-speci
}
static var field;
@@ -28,7 +27,7 @@ class Proxy {
}
main() {
- var proxy = new Proxy(reflectClass(C));
+ dynamic proxy = new Proxy(reflectClass(C));
var result;
Expect.equals('X-Y-Z', proxy.method('X', 'Y', 'Z'));

Powered by Google App Engine
This is Rietveld 408576698