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

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

Issue 2770063002: Revert "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 be4550b2b754e793244ac3884df314788538a4ed..488c86ce2329e71e319882caa5e6145442ba9ad6 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,8 +43,7 @@ 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);
« no previous file with comments | « tests/lib/mirrors/class_declarations_test.dart ('k') | tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698