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

Unified Diff: tests/lib_strong/mirrors/return_type_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/return_type_test.dart
diff --git a/tests/lib_strong/mirrors/return_type_test.dart b/tests/lib_strong/mirrors/return_type_test.dart
index 547e7610fb2e1fb97045d3482deacf643e24d75f..e7e3c5e4418ce1524f7128e2f5ef22a949256724 100644
--- a/tests/lib_strong/mirrors/return_type_test.dart
+++ b/tests/lib_strong/mirrors/return_type_test.dart
@@ -22,8 +22,8 @@ class B {
methodsOf(ClassMirror cm) {
var result = new Map();
- cm.declarations.forEach((k,v) {
- if(v is MethodMirror && v.isRegularMethod) result[k] = v;
+ cm.declarations.forEach((k, v) {
+ if (v is MethodMirror && v.isRegularMethod) result[k] = v;
});
return result;
}
@@ -31,10 +31,12 @@ methodsOf(ClassMirror cm) {
main() {
var methods = methodsOf(reflectClass(B));
- expect('{f: Method(s(f) in s(B)), '
- 'g: Method(s(g) in s(B)), '
- 'h: Method(s(h) in s(B)), '
- 'i: Method(s(i) in s(B))}', methods);
+ expect(
+ '{f: Method(s(f) in s(B)), '
+ 'g: Method(s(g) in s(B)), '
+ 'h: Method(s(h) in s(B)), '
+ 'i: Method(s(i) in s(B))}',
+ methods);
var f = methods[#f];
var g = methods[#g];

Powered by Google App Engine
This is Rietveld 408576698