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

Unified Diff: tests/language_strong/super_field_access_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/super_field_access_test.dart
diff --git a/tests/language_strong/super_field_access_test.dart b/tests/language_strong/super_field_access_test.dart
index 38129e8b1d7c55f9866f9f8b599053d85d3f2f4e..8cf465bf061bbb96adf8909a8c4fd08474215ce0 100644
--- a/tests/language_strong/super_field_access_test.dart
+++ b/tests/language_strong/super_field_access_test.dart
@@ -15,8 +15,12 @@ class A {
class B extends A {
int foo;
B.b1(x, this.foo) : super(x);
- B.b2(x, y) : this.foo = y, super(x);
- B.b3(x, y) : super(x), this.foo = y;
+ B.b2(x, y)
+ : this.foo = y,
+ super(x);
+ B.b3(x, y)
+ : super(x),
+ this.foo = y;
super$foo() => super.foo;
sum() => foo + super.foo;
@@ -25,7 +29,7 @@ class B extends A {
test(b) {
Expect.equals(10, b.foo);
Expect.equals(10, b.raw$foo());
- Expect.equals(10, b.this$foo());
+ Expect.equals(10, b.this$foo());
Expect.equals(100, b.super$foo());
Expect.equals(110, b.sum());
}
@@ -33,5 +37,5 @@ test(b) {
main() {
test(new B.b1(100, 10));
test(new B.b2(100, 10));
- test(new B.b3(100, 10));
+ test(new B.b3(100, 10));
}

Powered by Google App Engine
This is Rietveld 408576698