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

Unified Diff: tests/lib/mirrors/declarations_model_easier.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/lib/mirrors/declarations_model_easier.dart
diff --git a/tests/lib/mirrors/declarations_model_easier.dart b/tests/lib/mirrors/declarations_model_easier.dart
index af655d630f394afeb1dbbc79180bf832c52d84a3..a14ef893ed4d62100309df11838805c35b318209 100644
--- a/tests/lib/mirrors/declarations_model_easier.dart
+++ b/tests/lib/mirrors/declarations_model_easier.dart
@@ -40,15 +40,14 @@ class Superclass<S> {
Superclass.inheritedGenerativeConstructor(this.inheritedInstanceVariable);
Superclass.inheritedRedirectingConstructor(x)
- : this.inheritedGenerativeConstructor(x*2);
- factory Superclass.inheritedNormalFactory(y)
- => new Superclass.inheritedRedirectingConstructor(y*3);
- factory Superclass.inheritedRedirectingFactory(z)
- = Superclass.inheritedNormalFactory;
+ : this.inheritedGenerativeConstructor(x * 2);
+ factory Superclass.inheritedNormalFactory(y) =>
+ new Superclass.inheritedRedirectingConstructor(y * 3);
+ factory Superclass.inheritedRedirectingFactory(z) =
+ Superclass.inheritedNormalFactory;
}
-abstract class Class<C>
- extends Superclass<C> implements Interface<C> {
+abstract class Class<C> extends Superclass<C> implements Interface<C> {
operator +(x) => null;
abstractMethod();
@@ -65,9 +64,8 @@ abstract class Class<C>
Class.generativeConstructor(this.instanceVariable)
: super.inheritedGenerativeConstructor(0);
- Class.redirectingConstructor(x)
- : this.generativeConstructor(x*2);
- factory Class.normalFactory(y) => new ConcreteClass(y*3);
+ Class.redirectingConstructor(x) : this.generativeConstructor(x * 2);
+ factory Class.normalFactory(y) => new ConcreteClass(y * 3);
factory Class.redirectingFactory(z) = Class.normalFactory;
}

Powered by Google App Engine
This is Rietveld 408576698