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

Unified Diff: tests/language_strong/super_field_2_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/super_field_2_test.dart
diff --git a/tests/language_strong/super_field_2_test.dart b/tests/language_strong/super_field_2_test.dart
index 304e4ef0ac66155bcfa70ec6c26a730159b6ec5c..51cc9263986e4e0f328e53c98ae7387426e713d5 100644
--- a/tests/language_strong/super_field_2_test.dart
+++ b/tests/language_strong/super_field_2_test.dart
@@ -6,7 +6,8 @@ import "package:expect/expect.dart";
import "package:meta/meta.dart" show virtual;
class A {
- @virtual var foo;
+ @virtual
+ var foo;
A(this.foo);
B_Sfoo() => 'A.B_Sfoo()';
@@ -34,7 +35,6 @@ class D extends C {
BCD_Sfoo() => super.foo;
}
-
var inscrutable;
main() {
@@ -45,8 +45,8 @@ main() {
var d = new D('Da', 'Dc');
// Check access via plain getter.
- var b_bc = inscrutable(true) ? b : c; // B, but compiler thinks can also be C
- var c_bc = inscrutable(true) ? c : b; // C, but compiler thinks can also be B
+ var b_bc = inscrutable(true) ? b : c; // B, but compiler thinks can also be C
+ var c_bc = inscrutable(true) ? c : b; // C, but compiler thinks can also be B
Expect.equals('Ba', b.foo);
Expect.equals('Cc', c.foo);
@@ -84,6 +84,4 @@ main() {
Expect.equals('Ba', inscrutable(b).BCD_Sfoo());
Expect.equals('Ca', inscrutable(c).BCD_Sfoo());
Expect.equals('Dc', inscrutable(d).BCD_Sfoo());
-
-
}

Powered by Google App Engine
This is Rietveld 408576698