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

Unified Diff: tests/lib/mirrors/deferred_mirrors_metadata_lib.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/deferred_mirrors_metadata_lib.dart
diff --git a/tests/lib/mirrors/deferred_mirrors_metadata_lib.dart b/tests/lib/mirrors/deferred_mirrors_metadata_lib.dart
index b3a5d697b76ddb73778ae76f3ac13961b12da9ce..2ac3d34f08d451d281a4088fbe684cfd1ba55f1a 100644
--- a/tests/lib/mirrors/deferred_mirrors_metadata_lib.dart
+++ b/tests/lib/mirrors/deferred_mirrors_metadata_lib.dart
@@ -10,20 +10,24 @@ class H {
}
class F {
- @H() final int f;
+ @H()
+ final int f;
}
-@C() class E {
- @D() var f;
+@C()
+class E {
+ @D()
+ var f;
}
String foo() {
String c = reflectClass(E).metadata[0].invoke(#toString, []).reflectee;
- String d = reflectClass(E).declarations[#f].metadata[0]
+ String d = reflectClass(E)
+ .declarations[#f]
+ .metadata[0]
.invoke(#toString, []).reflectee;
InstanceMirror i = currentMirrorSystem().findLibrary(#main).metadata[0];
String a = i.invoke(#toString, []).reflectee;
String b = i.getField(#b).invoke(#toString, []).reflectee;
return a + b + c + d;
}
-

Powered by Google App Engine
This is Rietveld 408576698