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

Unified Diff: dart/tests/language/call_through_getter_test.dart

Issue 10829416: Update language tests to new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | « no previous file | dart/tests/language/call_through_null_getter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/call_through_getter_test.dart
diff --git a/dart/tests/language/call_through_getter_test.dart b/dart/tests/language/call_through_getter_test.dart
index 85c871399edfcec5964524c271fe10c3a65b088e..48e9c94ed9add1212e2c60e28852b40be131c98f 100644
--- a/dart/tests/language/call_through_getter_test.dart
+++ b/dart/tests/language/call_through_getter_test.dart
@@ -136,7 +136,7 @@ class A {
A() { }
var field;
- get getter() { return field; }
+ get getter { return field; }
method() { return field; }
}
@@ -146,14 +146,14 @@ class B {
B() : _order = new StringBuffer("") { }
- get g0() { _mark('g'); return f0() { return _mark('f'); }; }
- get g1() { _mark('g'); return f1(x) { return _mark('f'); }; }
- get g2() { _mark('g'); return f2(x, y) { return _mark('f'); }; }
- get g3() { _mark('g'); return f3(x, y, z) { return _mark('f'); }; }
+ get g0 { _mark('g'); return f0() { return _mark('f'); }; }
+ get g1 { _mark('g'); return f1(x) { return _mark('f'); }; }
+ get g2 { _mark('g'); return f2(x, y) { return _mark('f'); }; }
+ get g3 { _mark('g'); return f3(x, y, z) { return _mark('f'); }; }
- get x() { _mark('x'); return 0; }
- get y() { _mark('y'); return 1; }
- get z() { _mark('z'); return 2; }
+ get x { _mark('x'); return 0; }
+ get y { _mark('y'); return 1; }
+ get z { _mark('z'); return 2; }
_mark(m) { _order.add(m); return _order.toString(); }
StringBuffer _order;
« no previous file with comments | « no previous file | dart/tests/language/call_through_null_getter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698