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

Unified Diff: tests/language/compile_time_constant_e_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/compile_time_constant_e_test.dart
diff --git a/tests/language/compile_time_constant_e_test.dart b/tests/language/compile_time_constant_e_test.dart
index 77b20e9da828df65ca5a4c65765e6655f1275cfe..f7d4e18ecd061bb3ae3f5544470c262115c4d2cd 100644
--- a/tests/language/compile_time_constant_e_test.dart
+++ b/tests/language/compile_time_constant_e_test.dart
@@ -10,10 +10,23 @@ class A {
final z;
final t;
- const A([this.z = 99, tt = 100]) : y = 499, t = tt, x = 3;
- const A.n({this.z: 99, tt: 100}) : y = 499, t = tt, x = 3;
- const A.named({z, this.t}) : y = 400 + z, this.z = z, x = 3;
- const A.named2({t, z, y, x}) : x = t, y = z, z = y, t = x;
+ const A([this.z = 99, tt = 100])
+ : y = 499,
+ t = tt,
+ x = 3;
+ const A.n({this.z: 99, tt: 100})
+ : y = 499,
+ t = tt,
+ x = 3;
+ const A.named({z, this.t})
+ : y = 400 + z,
+ this.z = z,
+ x = 3;
+ const A.named2({t, z, y, x})
+ : x = t,
+ y = z,
+ z = y,
+ t = x;
toString() => "A $x $y $z $t";
}

Powered by Google App Engine
This is Rietveld 408576698