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); |