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

Unified Diff: tests/language_strong/private2_main.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/private2_main.dart
diff --git a/tests/language_strong/private2_main.dart b/tests/language_strong/private2_main.dart
index 1d4d15f093b283cc89e04ca213193632325d9134..d074dad270a2a4773e4712a3fc4aa0e005239395 100644
--- a/tests/language_strong/private2_main.dart
+++ b/tests/language_strong/private2_main.dart
@@ -8,7 +8,9 @@ part of Private2Test;
class A {
var _f;
var g;
- A() : _f = 42, g = 43;
+ A()
+ : _f = 42,
+ g = 43;
}
class C extends B {
@@ -20,6 +22,6 @@ main() {
print(a.g);
print(a._f);
var o = new C();
- print(o.g); // Access to public field in A.
- print(o._f); // Access to private field in A is allowed.
+ print(o.g); // Access to public field in A.
+ print(o._f); // Access to private field in A is allowed.
}

Powered by Google App Engine
This is Rietveld 408576698