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

Unified Diff: tests/lib/mirrors/synthetic_accessor_properties_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/synthetic_accessor_properties_test.dart
diff --git a/tests/lib/mirrors/synthetic_accessor_properties_test.dart b/tests/lib/mirrors/synthetic_accessor_properties_test.dart
index 04ac79782be9da8d6c451614fd5792b11db0d42c..ff6abf3225965d4580906d8e75cdaf13b83bca63 100644
--- a/tests/lib/mirrors/synthetic_accessor_properties_test.dart
+++ b/tests/lib/mirrors/synthetic_accessor_properties_test.dart
@@ -21,7 +21,6 @@ class C {
String topLevelField;
final double finalTopLevelField = 6.0;
-
main() {
ClassMirror cm = reflectClass(C);
LibraryMirror lm = cm.owner;
@@ -37,8 +36,10 @@ main() {
expect('Method(s(instanceField=) in s(C), synthetic, setter)', mm);
Expect.equals(reflectClass(String), mm.returnType);
pm = mm.parameters.single;
- expect('Parameter(s(instanceField) in s(instanceField=), final,'
- ' type = Class(s(String) in s(dart.core), top-level))', pm);
+ expect(
+ 'Parameter(s(instanceField) in s(instanceField=), final,'
+ ' type = Class(s(String) in s(dart.core), top-level))',
+ pm);
mm = cm.instanceMembers[#finalInstanceField];
expect('Method(s(finalInstanceField) in s(C), synthetic, getter)', mm);
@@ -48,7 +49,6 @@ main() {
mm = cm.instanceMembers[const Symbol('finalInstanceField=')];
Expect.isNull(mm);
-
mm = cm.staticMembers[#staticField];
expect('Method(s(staticField) in s(C), synthetic, static, getter)', mm);
Expect.equals(reflectClass(bool), mm.returnType);
@@ -58,8 +58,10 @@ main() {
expect('Method(s(staticField=) in s(C), synthetic, static, setter)', mm);
Expect.equals(reflectClass(bool), mm.returnType);
pm = mm.parameters.single;
- expect('Parameter(s(staticField) in s(staticField=), final,'
- ' type = Class(s(bool) in s(dart.core), top-level))', pm);
+ expect(
+ 'Parameter(s(staticField) in s(staticField=), final,'
+ ' type = Class(s(bool) in s(dart.core), top-level))',
+ pm);
mm = cm.staticMembers[#finalStaticField];
expect('Method(s(finalStaticField) in s(C), synthetic, static, getter)', mm);

Powered by Google App Engine
This is Rietveld 408576698