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

Unified Diff: tests/language/closure_in_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/language/closure_in_initializer_test.dart
diff --git a/tests/language/closure_in_initializer_test.dart b/tests/language/closure_in_initializer_test.dart
index 7697bbe286282adb0bd58a3eed5503751a443f06..aad2e5e204042709bb1636201d458c8521f99dda 100644
--- a/tests/language/closure_in_initializer_test.dart
+++ b/tests/language/closure_in_initializer_test.dart
@@ -10,7 +10,9 @@ import "package:expect/expect.dart";
class A {
var f;
var g;
- A(a) : f = (() => 42 + a), g = (() => ++a) {
+ A(a)
+ : f = (() => 42 + a),
+ g = (() => ++a) {
a = 4;
}
}
@@ -21,7 +23,9 @@ class B extends A {
class C extends A {
var h;
- C(a) : super(42), h = (() => ++a);
+ C(a)
+ : super(42),
+ h = (() => ++a);
}
main() {

Powered by Google App Engine
This is Rietveld 408576698