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

Unified Diff: tests/language_strong/constructor_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/constructor_test.dart
diff --git a/tests/language_strong/constructor_test.dart b/tests/language_strong/constructor_test.dart
index 54923f0a42c79f5d205f00802a382d89641d1396..b1cd81be2aeae249a4100d64551b77c281ade53d 100644
--- a/tests/language_strong/constructor_test.dart
+++ b/tests/language_strong/constructor_test.dart
@@ -6,21 +6,21 @@
import "package:expect/expect.dart";
class A extends B {
- A(x, y) : super(y), a = x { }
+ A(x, y)
+ : super(y),
+ a = x {}
var a;
}
-
class B {
var b;
- B(x) : b = x { }
+ B(x) : b = x {}
B.namedB(var x) : b = x {}
}
-
// Test the order of initialization: first the instance variable then
// the super constructor.
abstract class Alpha {
@@ -31,7 +31,9 @@ abstract class Alpha {
}
class Beta extends Alpha {
- Beta(v) : super(v), b = 1 {}
+ Beta(v)
+ : super(v),
+ b = 1 {}
foo(v) {
// Check that 'b' was initialized.

Powered by Google App Engine
This is Rietveld 408576698