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

Unified Diff: tests/language_strong/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_strong/super_field_test.dart
diff --git a/tests/language_strong/super_field_test.dart b/tests/language_strong/super_field_test.dart
index 15b46711201bae098be4d21fa13eda10da6fe4d8..aa56eb237a59e487b22d6b67cd59f03e16590006 100644
--- a/tests/language_strong/super_field_test.dart
+++ b/tests/language_strong/super_field_test.dart
@@ -13,9 +13,10 @@ class A {
String greeting() {
return "Gruezi";
}
- @virtual String city;
-}
+ @virtual
+ String city;
+}
class B extends A {
B() : super() {}
@@ -24,18 +25,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