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

Unified Diff: dart/tests/language/naming_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 | « dart/tests/language/naming3_test.dart ('k') | dart/tests/language/optimized_setter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/naming_test.dart
diff --git a/dart/tests/language/naming_test.dart b/dart/tests/language/naming_test.dart
index a6ebe5902938b1fe297ada3a18f8c1c7a67f10f6..f11d00fbd9b8a17e1c3633e168a87e0d985e586c 100644
--- a/dart/tests/language/naming_test.dart
+++ b/dart/tests/language/naming_test.dart
@@ -158,7 +158,7 @@ class Bug4082360 {
int x_;
Bug4082360() {}
- int get x() { return x_; }
+ int get x { return x_; }
void set x(int value) { x_ = value; }
void indirectSet(int value) { x = value; }
@@ -505,7 +505,7 @@ class Naming1Test {
// Ensure we don't have false positive.
class Naming2Test {
Naming2Test() { }
- int get foo() { return 1; }
+ int get foo { return 1; }
set foo(x) { }
static void main(args) {
« no previous file with comments | « dart/tests/language/naming3_test.dart ('k') | dart/tests/language/optimized_setter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698