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

Unified Diff: tests/language/super_getter_setter_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/language/super_getter_setter_test.dart
diff --git a/tests/language/super_getter_setter_test.dart b/tests/language/super_getter_setter_test.dart
index 551a96558bf7733eedb1e1d84aa20bb1b3cba140..94056edda51a3be30bc71cfb50151bb9fe666a4b 100644
--- a/tests/language/super_getter_setter_test.dart
+++ b/tests/language/super_getter_setter_test.dart
@@ -15,7 +15,10 @@ class A {
var missingAllField;
var indexField = new List(2);
- set setterInSuperClass(a) { setterInSuperClassField = a; }
+ set setterInSuperClass(a) {
+ setterInSuperClassField = a;
+ }
+
get getterInSuperClass => getterInSuperClassField;
}
@@ -23,14 +26,23 @@ class B extends A {
get missingSetter => missingSetterField;
get setterInSuperClass => setterInSuperClassField;
- set missingGetter(a) { missingGetterField = a; }
- set getterInSuperClass(a) { getterInSuperClassField = a; }
+ set missingGetter(a) {
+ missingGetterField = a;
+ }
+
+ set getterInSuperClass(a) {
+ getterInSuperClassField = a;
+ }
get getterSetter => getterSetterField;
- set getterSetter(a) { getterSetterField = a; }
+ set getterSetter(a) {
+ getterSetterField = a;
+ }
- operator[](index) => indexField[index];
- operator[]=(index, value) { indexField[index] = value; }
+ operator [](index) => indexField[index];
+ operator []=(index, value) {
+ indexField[index] = value;
+ }
noSuchMethod(Invocation im) {
String name = MirrorSystem.getName(im.memberName);

Powered by Google App Engine
This is Rietveld 408576698