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

Unified Diff: tests/language_strong/initializing_formal_final_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/initializing_formal_final_test.dart
diff --git a/tests/language_strong/initializing_formal_final_test.dart b/tests/language_strong/initializing_formal_final_test.dart
index 3df4ba521c2db29e46d7a860bec5e84845546805..30f99f3e0e92825cf63d780b80fd0e53e3759a8d 100644
--- a/tests/language_strong/initializing_formal_final_test.dart
+++ b/tests/language_strong/initializing_formal_final_test.dart
@@ -11,7 +11,10 @@ class A {
var x, y;
// This should cause a warning because `x` is final when
// accessed as an initializing formal.
- A(this.x) : y = (() { x = 3; });
+ A(this.x)
+ : y = (() {
+ x = 3;
+ });
}
main() {

Powered by Google App Engine
This is Rietveld 408576698