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

Unified Diff: tests/language/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/initializing_formal_final_test.dart
diff --git a/tests/language/initializing_formal_final_test.dart b/tests/language/initializing_formal_final_test.dart
index 9cda9feb6303d388f71ae54bf602b4c8c51a3089..bccab6d9c3c256f6f607d182d11caa72a06a9846 100644
--- a/tests/language/initializing_formal_final_test.dart
+++ b/tests/language/initializing_formal_final_test.dart
@@ -8,7 +8,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