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

Unified Diff: tests/language/super_field_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_field_test.dart
diff --git a/tests/language/super_field_test.dart b/tests/language/super_field_test.dart
index 5d51cb2ab70da06a47310d1da8ad0401e0990aee..85ae8e9a2ccb9084d2d798475d49bb72835596ba 100644
--- a/tests/language/super_field_test.dart
+++ b/tests/language/super_field_test.dart
@@ -5,7 +5,6 @@
import "package:expect/expect.dart";
-
class A {
A() {
city = "Bern";
@@ -13,10 +12,10 @@ class A {
String greeting() {
return "Gruezi";
}
+
String city;
}
-
class B extends A {
B() : super() {}
String greeting() {
@@ -24,18 +23,17 @@ class B extends A {
}
}
-
class C extends B {
C() : super() {}
String greeting() {
return "Servus " + super.greeting();
}
+
String get city {
return "Basel " + super.city;
}
}
-
class SuperFieldTest {
static testMain() {
A a = new A();

Powered by Google App Engine
This is Rietveld 408576698