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

Unified Diff: tests/language/example_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/example_constructor_test.dart
diff --git a/tests/language/example_constructor_test.dart b/tests/language/example_constructor_test.dart
index 612bb18d629a40abdebe025f5da6bc3b4ff579b1..b8a2c66c1020cca2e68a9a74c2e5fa66005340a4 100644
--- a/tests/language/example_constructor_test.dart
+++ b/tests/language/example_constructor_test.dart
@@ -14,7 +14,7 @@ int rec(int i) {
class A {
A(int x) : x = rec(2) {
- Expect.equals(1, x); // Parameter x
+ Expect.equals(1, x); // Parameter x
Expect.equals(2, this.x);
rec(5);
}
@@ -23,7 +23,9 @@ class A {
class B extends A {
B(this.a, int y, int z)
- : super(rec(1)), z = rec(3), y = rec(4) {
+ : super(rec(1)),
+ z = rec(3),
+ y = rec(4) {
rec(6);
}
int a;
@@ -39,4 +41,3 @@ main() {
Expect.equals(3, test.z);
Expect.equals("0 1 2 3 4 5 6 ", trace);
}
-

Powered by Google App Engine
This is Rietveld 408576698