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

Unified Diff: tests/compiler/dart2js_extra/basic_class_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: Created 4 years, 3 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/compiler/dart2js_extra/basic_class_test.dart
diff --git a/tests/compiler/dart2js_extra/basic_class_test.dart b/tests/compiler/dart2js_extra/basic_class_test.dart
index 3ed652d10429c052cc33cc1c7491a294e4b83d3f..a84454f23d2a03e865f7b470aadec234d8e8b2dc 100644
--- a/tests/compiler/dart2js_extra/basic_class_test.dart
+++ b/tests/compiler/dart2js_extra/basic_class_test.dart
@@ -2,14 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class A {
-}
+class A {}
-class SubA extends A {
-}
+class SubA extends A {}
-class B {
-}
+class B {}
void main() {
A a;
@@ -17,11 +14,19 @@ void main() {
B b;
a = a;
a = subA;
- a = b; /// 01: static type warning
+ a = b;
+
+ /// 01: static type warning
Siggi Cherem (dart-lang) 2016/09/16 20:55:23 revert
Harry Terkelsen 2016/09/16 21:44:03 Done.
subA = a;
subA = subA;
- subA = b; /// 02: static type warning
- b = a; /// 03: static type warning
- b = subA; /// 04: static type warning
+ subA = b;
+
+ /// 02: static type warning
+ b = a;
+
+ /// 03: static type warning
+ b = subA;
+
+ /// 04: static type warning
b = b;
}

Powered by Google App Engine
This is Rietveld 408576698