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

Unified Diff: tests/language/library_prefixes_test2.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/library_prefixes_test2.dart
diff --git a/tests/language/library_prefixes_test2.dart b/tests/language/library_prefixes_test2.dart
index 4415040f7d1cdc616b17e87d171e243af3ade7d4..8197539854ec512cb34ef4b185d60e9ac9ea8c3b 100644
--- a/tests/language/library_prefixes_test2.dart
+++ b/tests/language/library_prefixes_test2.dart
@@ -15,13 +15,17 @@ class A {
A() : x = 2 {}
A.named() : x = 4 {}
A.superC(x) : x = x + 11 {}
- factory A.fac() { return new A.named(); }
+ factory A.fac() {
+ return new A.named();
+ }
}
class B extends A {
B() : super() {}
B.named() : super.superC(2) {}
- factory B.fac() { return new B.named(); }
+ factory B.fac() {
+ return new B.named();
+ }
}
class C {
@@ -29,21 +33,43 @@ class C {
const C() : x = 2;
const C.named() : x = 4;
const C.superC(x) : x = x + 11;
- factory C.fac() { return const C.named(); }
+ factory C.fac() {
+ return const C.named();
+ }
}
class D extends C {
const D() : super();
const D.named() : super.superC(2);
- factory D.fac() { return const D.named(); }
+ factory D.fac() {
+ return const D.named();
+ }
}
class E {
var f;
E() {}
- E.fun(x) : f = (() { return x + 13; }) {}
- static foo() { return 3; }
- static fooo(x) { return () { return x + 1024; }; }
- bar() { return 4; }
- toto(x) { return () { return x + 5; }; }
+ E.fun(x)
+ : f = (() {
+ return x + 13;
+ }) {}
+ static foo() {
+ return 3;
+ }
+
+ static fooo(x) {
+ return () {
+ return x + 1024;
+ };
+ }
+
+ bar() {
+ return 4;
+ }
+
+ toto(x) {
+ return () {
+ return x + 5;
+ };
+ }
}

Powered by Google App Engine
This is Rietveld 408576698