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

Unified Diff: tests/lib/mirrors/constructor_kinds_test.dart

Issue 2768073002: Format all multitests (Closed)
Patch Set: Created 3 years, 9 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/constructor_kinds_test.dart
diff --git a/tests/lib/mirrors/constructor_kinds_test.dart b/tests/lib/mirrors/constructor_kinds_test.dart
index 488c86ce2329e71e319882caa5e6145442ba9ad6..be4550b2b754e793244ac3884df314788538a4ed 100644
--- a/tests/lib/mirrors/constructor_kinds_test.dart
+++ b/tests/lib/mirrors/constructor_kinds_test.dart
@@ -20,8 +20,8 @@ class Class {
: this.constGenerativeConstructor();
// Not legal.
// const factory Class.constFactoryConstructor() => ...
- const factory Class.constRedirectingFactoryConstructor()
- = Class.constGenerativeConstructor;
+ const factory Class.constRedirectingFactoryConstructor() =
+ Class.constGenerativeConstructor;
}
main() {
@@ -43,7 +43,8 @@ main() {
cm = reflectClass(ClassWithDefaultConstructor);
mm = cm.declarations.values
- .where((d) => d is MethodMirror && d.isConstructor).single;
+ .where((d) => d is MethodMirror && d.isConstructor)
+ .single;
Expect.isTrue(mm.isConstructor);
Expect.isTrue(mm.isGenerativeConstructor);
Expect.isFalse(mm.isFactoryConstructor);

Powered by Google App Engine
This is Rietveld 408576698