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

Unified Diff: tests/lib/mirrors/static_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/static_members_test.dart
diff --git a/tests/lib/mirrors/static_members_test.dart b/tests/lib/mirrors/static_members_test.dart
index 986e6b081ab61c3daa7a3033223f5fc6d5b04252..290d8f34d1b1df8501a5e2c095ea1ebf5bc02e6b 100644
--- a/tests/lib/mirrors/static_members_test.dart
+++ b/tests/lib/mirrors/static_members_test.dart
@@ -19,24 +19,23 @@ main() {
ClassMirror cm = reflectClass(declarations_model.Class);
LibraryMirror lm = cm.owner;
- Expect.setEquals(
- [#staticVariable,
- const Symbol('staticVariable='),
- #staticGetter,
- const Symbol('staticSetter='),
- #staticMethod,
- MirrorSystem.getSymbol('_staticVariable', lm),
- MirrorSystem.getSymbol('_staticVariable=', lm),
- MirrorSystem.getSymbol('_staticGetter', lm),
- MirrorSystem.getSymbol('_staticSetter=', lm),
- MirrorSystem.getSymbol('_staticMethod', lm),
- ],
- selectKeys(cm.staticMembers, (dm) => true));
+ Expect.setEquals([
+ #staticVariable,
+ const Symbol('staticVariable='),
+ #staticGetter,
+ const Symbol('staticSetter='),
+ #staticMethod,
+ MirrorSystem.getSymbol('_staticVariable', lm),
+ MirrorSystem.getSymbol('_staticVariable=', lm),
+ MirrorSystem.getSymbol('_staticGetter', lm),
+ MirrorSystem.getSymbol('_staticSetter=', lm),
+ MirrorSystem.getSymbol('_staticMethod', lm),
+ ], selectKeys(cm.staticMembers, (dm) => true));
- Expect.setEquals(
- [#staticVariable,
- const Symbol('staticVariable='),
- MirrorSystem.getSymbol('_staticVariable', lm),
- MirrorSystem.getSymbol('_staticVariable=', lm)],
- selectKeys(cm.staticMembers, (dm) => dm.isSynthetic));
+ Expect.setEquals([
+ #staticVariable,
+ const Symbol('staticVariable='),
+ MirrorSystem.getSymbol('_staticVariable', lm),
+ MirrorSystem.getSymbol('_staticVariable=', lm)
+ ], selectKeys(cm.staticMembers, (dm) => dm.isSynthetic));
}

Powered by Google App Engine
This is Rietveld 408576698