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

Unified Diff: tests/lib_strong/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_strong/mirrors/synthetic_accessor_properties_test.dart
diff --git a/tests/lib_strong/mirrors/synthetic_accessor_properties_test.dart b/tests/lib_strong/mirrors/synthetic_accessor_properties_test.dart
index b4fd4e2a2b39441e0230a139812b7a9149a537fe..a17b02bd5e7f715bf5af686e958e1dd0a3e67d75 100644
--- a/tests/lib_strong/mirrors/synthetic_accessor_properties_test.dart
+++ b/tests/lib_strong/mirrors/synthetic_accessor_properties_test.dart
@@ -20,7 +20,6 @@ class C {
String topLevelField;
final double finalTopLevelField = 6.0;
-
main() {
ClassMirror cm = reflectClass(C);
LibraryMirror lm = cm.owner;
@@ -36,8 +35,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);
@@ -47,7 +48,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);
@@ -57,8 +57,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