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

Unified Diff: dart/tests/language/setter1_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/setter0_test.dart ('k') | dart/tests/language/setter_no_getter_call_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/setter1_test.dart
diff --git a/dart/tests/language/setter1_test.dart b/dart/tests/language/setter1_test.dart
index 1a14bdfca3f46fc165e47e5410571fbfb3a74bdc..270351c834d2cd0338d13edb9accf2f4d135821d 100644
--- a/dart/tests/language/setter1_test.dart
+++ b/dart/tests/language/setter1_test.dart
@@ -14,14 +14,14 @@ class First {
b = 20;
}
- int get a() {
+ int get a {
return a_;
}
void set a(int val) {
a_ = a_ + val;
}
- static int get b() {
+ static int get b {
return b_;
}
static void set b(int val) {
@@ -52,7 +52,7 @@ class Second {
// d = 40; // Should be an error.
}
- int get a() {
+ int get a {
return a_;
}
void set a(int value) {
@@ -62,7 +62,7 @@ class Second {
static void set b(int value) {
Second.c = value;
}
- static int get d() {
+ static int get d {
return Second.c;
}
}
« no previous file with comments | « dart/tests/language/setter0_test.dart ('k') | dart/tests/language/setter_no_getter_call_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698