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

Unified Diff: dart/tests/language/top_level_func_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/super_setter_test.dart ('k') | dart/tests/language/top_level_in_initializer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/top_level_func_test.dart
diff --git a/dart/tests/language/top_level_func_test.dart b/dart/tests/language/top_level_func_test.dart
index b34da126af5e59a28ccb2959f6e1d6617e52b80f..c26f8e425a2a6d4c6619d55d0a898ca96ebfa343 100644
--- a/dart/tests/language/top_level_func_test.dart
+++ b/dart/tests/language/top_level_func_test.dart
@@ -40,17 +40,17 @@ int Sum(List<int> v) {
return s;
}
-get Window() { return "win" "dow"; }
+get Window { return "win" "dow"; }
String rgb;
void set Color(col) { rgb = "#$col"; }
-List<String> get digits() {
+List<String> get digits {
return ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
}
-Function get Enumerator() {
+Function get Enumerator {
int k = 0;
return () => k++;
}
« no previous file with comments | « dart/tests/language/super_setter_test.dart ('k') | dart/tests/language/top_level_in_initializer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698