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

Unified Diff: tests/language_strong/super_implicit_closure_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_implicit_closure_test.dart
diff --git a/tests/language_strong/super_implicit_closure_test.dart b/tests/language_strong/super_implicit_closure_test.dart
index 584d79594086fb3763fd475fbfffac3188b78e8f..c94997b94f5f322e9d06dd29aabb2c7a57865507 100644
--- a/tests/language_strong/super_implicit_closure_test.dart
+++ b/tests/language_strong/super_implicit_closure_test.dart
@@ -7,14 +7,23 @@ import "package:expect/expect.dart";
class BaseClass {
BaseClass(this._i) {}
- int foo() { return _i; }
+ int foo() {
+ return _i;
+ }
+
int _i;
}
class DerivedClass extends BaseClass {
DerivedClass(this._y, int j) : super(j) {}
- int foo() { return _y; }
- getSuper() { return super.foo; }
+ int foo() {
+ return _y;
+ }
+
+ getSuper() {
+ return super.foo;
+ }
+
int _y;
}
@@ -30,7 +39,6 @@ class SuperImplicitClosureTest {
}
}
-
main() {
SuperImplicitClosureTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698