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

Unified Diff: tests/lib_strong/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_strong/mirrors/static_members_test.dart
diff --git a/tests/lib_strong/mirrors/static_members_test.dart b/tests/lib_strong/mirrors/static_members_test.dart
index a4551cc96cf7d1a162e08c4681515d0b5326e0b0..82dda6abcdb12cd84f415a83145ca531beeb90b6 100644
--- a/tests/lib_strong/mirrors/static_members_test.dart
+++ b/tests/lib_strong/mirrors/static_members_test.dart
@@ -18,24 +18,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