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

Unified Diff: tests/language_strong/field_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/language_strong/field_test.dart
diff --git a/tests/language_strong/field_test.dart b/tests/language_strong/field_test.dart
index 0a34813961a67b60bfa7c35741446178c63e0cc5..fd255fa9f9152130daee8f38b5ff9d8612b3c013 100644
--- a/tests/language_strong/field_test.dart
+++ b/tests/language_strong/field_test.dart
@@ -8,8 +8,10 @@ import "package:meta/meta.dart" show virtual;
class First {
First() {}
- @virtual var a;
- @virtual var b;
+ @virtual
+ var a;
+ @virtual
+ var b;
addFields() {
return a + b;
@@ -26,8 +28,13 @@ class Second extends First {
// TODO: consider removing once http://b/4254120 is fixed.
Second() : super() {}
var c;
- get a { return -12; }
- set b(a) { a.c = 12; }
+ get a {
+ return -12;
+ }
+
+ set b(a) {
+ a.c = 12;
+ }
}
class FieldTest {
@@ -68,7 +75,6 @@ class FieldTest {
}
}
-
main() {
FieldTest.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698