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

Unified Diff: tests/language_strong/constructor6_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/constructor6_test.dart
diff --git a/tests/language_strong/constructor6_test.dart b/tests/language_strong/constructor6_test.dart
index b5f6c688e7a9027d6fb440098d61458e6f387a36..ebd1aca9e5c8916a41bddd79715306f15c05d34f 100644
--- a/tests/language_strong/constructor6_test.dart
+++ b/tests/language_strong/constructor6_test.dart
@@ -18,8 +18,8 @@ int E(int i) {
class A {
// f closes-over arg. arg needs to be preserved while b2 is initialized.
A(arg)
- : a = E(arg += 1)
- , f = (() => E(arg += 10)) {
+ : a = E(arg += 1),
+ f = (() => E(arg += 10)) {
// b2 should be initialized between the above initializers and the following
// statements.
var r1 = f();
@@ -32,7 +32,10 @@ class A {
class B extends A {
// Initializers in order: b1, super, b2.
- B(x, y) : b1 = E(x++), super(1000), b2 = E(y++) {
+ B(x, y)
+ : b1 = E(x++),
+ super(1000),
+ b2 = E(y++) {
// Implicit super call to A's body happens here.
E(x);
E(y);

Powered by Google App Engine
This is Rietveld 408576698