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

Unified Diff: tests/kernel/unsorted/super_initializer_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/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');
}
}

Powered by Google App Engine
This is Rietveld 408576698