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

Unified Diff: tests/language_strong/super_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_test.dart
diff --git a/tests/language_strong/super_test.dart b/tests/language_strong/super_test.dart
index 4a4c8d17b0444575ef4a28d624c06fb70a2ae035..aff6a41221e1ad61510db055ca7372d4170e2acb 100644
--- a/tests/language_strong/super_test.dart
+++ b/tests/language_strong/super_test.dart
@@ -28,11 +28,15 @@ main() {
class Sup {
var x, y, z;
- Sup(a, b) : this.x = a, this.y = b {
+ Sup(a, b)
+ : this.x = a,
+ this.y = b {
z = a + b;
}
- Sup.stat() : this.x = i++, this.y = i++ {
+ Sup.stat()
+ : this.x = i++,
+ this.y = i++ {
z = i++;
}
}
@@ -40,11 +44,17 @@ class Sup {
class Sub extends Sup {
var u, v, w;
- Sub(a, b) : super(a, b), this.v = a, this.w = b {
+ Sub(a, b)
+ : super(a, b),
+ this.v = a,
+ this.w = b {
u = a + b;
}
- Sub.stat() : super.stat(), this.v = i++, this.w = i++ {
+ Sub.stat()
+ : super.stat(),
+ this.v = i++,
+ this.w = i++ {
u = i++;
}
}

Powered by Google App Engine
This is Rietveld 408576698