Index: tests/kernel/unsorted/super_initializer_test.dart |
diff --git a/tests/kernel/unsorted/super_initializer_test.dart b/tests/kernel/unsorted/super_initializer_test.dart |
index b2306864d4bce5d2865544a6da291a0ed1eef21a..95ac2dd2d198e50ee1597ce078ffb1202257c3cc 100644 |
--- a/tests/kernel/unsorted/super_initializer_test.dart |
+++ b/tests/kernel/unsorted/super_initializer_test.dart |
@@ -5,8 +5,13 @@ |
import 'package:expect/expect.dart'; |
String log; |
-init() { log = ''; } |
-logit(msg) { return log = '$log$msg'; } |
+init() { |
+ log = ''; |
+} |
+ |
+logit(msg) { |
+ return log = '$log$msg'; |
+} |
class Base { |
var b; |
@@ -24,13 +29,22 @@ class Base { |
class Sub extends Base { |
var x; |
var s; |
- Sub.arg0() : x = logit('x'), super.arg0(), s = logit('s') { |
+ Sub.arg0() |
+ : x = logit('x'), |
+ super.arg0(), |
+ s = logit('s') { |
logit('S'); |
} |
- Sub.arg1(a) : x = logit('x'), super.arg1(logit('1')), s = logit('s') { |
+ Sub.arg1(a) |
+ : x = logit('x'), |
+ super.arg1(logit('1')), |
+ s = logit('s') { |
logit('S'); |
} |
- Sub.arg2(a, b) : x = logit('x'), super.arg2(logit('1'), logit('2')), s = logit('s') { |
+ Sub.arg2(a, b) |
+ : x = logit('x'), |
+ super.arg2(logit('1'), logit('2')), |
+ s = logit('s') { |
logit('S'); |
} |
} |