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

Unified Diff: tests/language/super_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_setter_test.dart
diff --git a/tests/language/super_setter_test.dart b/tests/language/super_setter_test.dart
index 7683d784eddcfbc77ba65a8a69888c3baaed1bb0..a17ba8bd0aa2860282076b4518d5475c4ef11fb5 100644
--- a/tests/language/super_setter_test.dart
+++ b/tests/language/super_setter_test.dart
@@ -9,22 +9,26 @@ class Base {
Base() {}
String value_;
- String get value { return value_; }
+ String get value {
+ return value_;
+ }
+
String set value(String newValue) {
value_ = 'Base:$newValue';
}
}
-
class Derived extends Base {
Derived() : super() {}
String set value(String newValue) {
super.value = 'Derived:$newValue';
}
- String get value { return super.value; }
-}
+ String get value {
+ return super.value;
+ }
+}
class SuperSetterTest {
static void testMain() {

Powered by Google App Engine
This is Rietveld 408576698