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

Unified Diff: tests/lib/mirrors/instance_members_test.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/instance_members_test.dart
diff --git a/tests/lib/mirrors/instance_members_test.dart b/tests/lib/mirrors/instance_members_test.dart
index 1726cdd3ebc546cbee1c59a3828e58e9be142af3..8ec091f6f8b919dfbcffaf4fdf3d9dd82be00d42 100644
--- a/tests/lib/mirrors/instance_members_test.dart
+++ b/tests/lib/mirrors/instance_members_test.dart
@@ -17,39 +17,39 @@ selectKeys(map, predicate) {
main() {
ClassMirror cm = reflectClass(declarations_model.Class);
- Expect.setEquals(
- [#+,
- #instanceVariable,
- const Symbol('instanceVariable='),
- #instanceGetter,
- const Symbol('instanceSetter='),
- #instanceMethod,
- #-,
- #inheritedInstanceVariable,
- const Symbol('inheritedInstanceVariable='),
- #inheritedInstanceGetter,
- const Symbol('inheritedInstanceSetter='),
- #inheritedInstanceMethod,
- #*,
- #mixinInstanceVariable,
- const Symbol('mixinInstanceVariable='),
- #mixinInstanceGetter,
- const Symbol('mixinInstanceSetter='),
- #mixinInstanceMethod,
- #hashCode,
- #runtimeType,
- #==,
- #noSuchMethod,
- #toString],
- selectKeys(cm.instanceMembers, (dm) => !dm.isPrivate));
+ Expect.setEquals([
+ #+,
+ #instanceVariable,
+ const Symbol('instanceVariable='),
+ #instanceGetter,
+ const Symbol('instanceSetter='),
+ #instanceMethod,
+ #-,
+ #inheritedInstanceVariable,
+ const Symbol('inheritedInstanceVariable='),
+ #inheritedInstanceGetter,
+ const Symbol('inheritedInstanceSetter='),
+ #inheritedInstanceMethod,
+ #*,
+ #mixinInstanceVariable,
+ const Symbol('mixinInstanceVariable='),
+ #mixinInstanceGetter,
+ const Symbol('mixinInstanceSetter='),
+ #mixinInstanceMethod,
+ #hashCode,
+ #runtimeType,
+ #==,
+ #noSuchMethod,
+ #toString
+ ], selectKeys(cm.instanceMembers, (dm) => !dm.isPrivate));
// Filter out private to avoid implementation-specific members of Object.
- Expect.setEquals(
- [#instanceVariable,
- const Symbol('instanceVariable='),
- #inheritedInstanceVariable,
- const Symbol('inheritedInstanceVariable='),
- #mixinInstanceVariable,
- const Symbol('mixinInstanceVariable=')],
- selectKeys(cm.instanceMembers, (dm) => !dm.isPrivate && dm.isSynthetic));
+ Expect.setEquals([
+ #instanceVariable,
+ const Symbol('instanceVariable='),
+ #inheritedInstanceVariable,
+ const Symbol('inheritedInstanceVariable='),
+ #mixinInstanceVariable,
+ const Symbol('mixinInstanceVariable=')
+ ], selectKeys(cm.instanceMembers, (dm) => !dm.isPrivate && dm.isSynthetic));
}

Powered by Google App Engine
This is Rietveld 408576698