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

Unified Diff: tests/language/covariant_override_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/covariant_override_test.dart
diff --git a/tests/language/covariant_override_test.dart b/tests/language/covariant_override_test.dart
index 7a91126a5e76dd867a5e04c30c128d24e37ca46e..ee463df4375b900785b2160948bc526124508f71 100644
--- a/tests/language/covariant_override_test.dart
+++ b/tests/language/covariant_override_test.dart
@@ -1,4 +1,3 @@
-
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// 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.
@@ -40,7 +39,7 @@ abstract class A {
}
abstract class B extends A {
- B(num f1, num f2, num f3): super(f1, f2, f3);
+ B(num f1, num f2, num f3) : super(f1, f2, f3);
void m1(num n);
void m2(covariant num n);
@@ -57,8 +56,8 @@ abstract class B extends A {
}
class C extends B {
- C(int f1, int f2, int f3): super(f1, f2, f3);
-
+ C(int f1, int f2, int f3) : super(f1, f2, f3);
+
void m1(int i) {}
void m2(int i) {}
void m3(int i) {}

Powered by Google App Engine
This is Rietveld 408576698