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

Unified Diff: tests/language_strong/constructor5_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/constructor5_test.dart
diff --git a/tests/language_strong/constructor5_test.dart b/tests/language_strong/constructor5_test.dart
index 77ecd9405c2c1c520f4588599cc60f7453e558fd..e92c3607c8f5d9d39800c02ec68dd5e0837d8ca7 100644
--- a/tests/language_strong/constructor5_test.dart
+++ b/tests/language_strong/constructor5_test.dart
@@ -16,11 +16,13 @@ int E(int i) {
}
class A {
- A({arg1: 100, arg2: 200}) : a1 = E(arg1++), a2 = E(arg2++) {
+ A({arg1: 100, arg2: 200})
+ : a1 = E(arg1++),
+ a2 = E(arg2++) {
// b2 should be initialized between the above initializers and the following
// statements.
- E(arg1); // 101
- E(arg2); // 51
+ E(arg1); // 101
+ E(arg2); // 51
}
var a1;
var a2;
@@ -28,10 +30,13 @@ class A {
class B extends A {
// Initializers in order: b1, super, b2.
- B(x, y) : b1 = E(x++), super(arg2: 50), b2 = E(y++) {
+ B(x, y)
+ : b1 = E(x++),
+ super(arg2: 50),
+ b2 = E(y++) {
// Implicit super call to A's body happens here.
- E(x); // 11
- E(y); // 21
+ E(x); // 11
+ E(y); // 21
}
var b1;
var b2;

Powered by Google App Engine
This is Rietveld 408576698