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

Unified Diff: tests/lib/mirrors/regress_19731_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/regress_19731_test.dart
diff --git a/tests/lib/mirrors/regress_19731_test.dart b/tests/lib/mirrors/regress_19731_test.dart
index 1fc194311be548e09a498d55c7fe89e10bc58ac0..5c12e6f4056bfb97ccd975fcc6ee68c395ee5e11 100644
--- a/tests/lib/mirrors/regress_19731_test.dart
+++ b/tests/lib/mirrors/regress_19731_test.dart
@@ -26,11 +26,15 @@ method() {}
main() {
var classMirror = reflectType(OneField);
var classFieldNames = classMirror.declarations.values
- .where((v) => v is VariableMirror).map((v) => v.simpleName).toList();
+ .where((v) => v is VariableMirror)
+ .map((v) => v.simpleName)
+ .toList();
Expect.setEquals([#onlyClassField], classFieldNames);
var libraryMirror = classMirror.owner;
var libraryFieldNames = libraryMirror.declarations.values
- .where((v) => v is VariableMirror).map((v) => v.simpleName).toList();
+ .where((v) => v is VariableMirror)
+ .map((v) => v.simpleName)
+ .toList();
Expect.setEquals([#metadata], libraryFieldNames);
}

Powered by Google App Engine
This is Rietveld 408576698