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

Unified Diff: tests/language/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/super_field_2_test.dart
diff --git a/tests/language/super_field_2_test.dart b/tests/language/super_field_2_test.dart
index 7c53c43cba2c3e8a568757e0ce0616123cf57df4..82b899c641eea8da0ee4c68f75fe5fc3dcaccfc1 100644
--- a/tests/language/super_field_2_test.dart
+++ b/tests/language/super_field_2_test.dart
@@ -33,7 +33,6 @@ class D extends C {
BCD_Sfoo() => super.foo;
}
-
var inscrutable;
main() {
@@ -44,8 +43,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);
@@ -83,6 +82,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