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

Unified Diff: tests/language/canonical_const3_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/canonical_const3_test.dart
diff --git a/tests/language/canonical_const3_test.dart b/tests/language/canonical_const3_test.dart
index 7dad367815c7df02357f8971af353a1c6ecc302d..938f0dbe96c37cd3789ec489e742a335005c6c87 100644
--- a/tests/language/canonical_const3_test.dart
+++ b/tests/language/canonical_const3_test.dart
@@ -6,7 +6,6 @@
import "package:expect/expect.dart";
-
main() {
Expect.isFalse(identical(new Duration(days: 1), new Duration(days: 1)));
Expect.isTrue(identical(const Duration(days: 2), const Duration(days: 2)));
@@ -14,7 +13,6 @@ main() {
Expect.isTrue(identical(const F(main), const F(main)));
}
-
class A {
final a;
const A(v) : a = v + 3.4;
@@ -22,7 +20,9 @@ class A {
class B extends A {
final b;
- const B(v) : super(v), b = v + 1.0;
+ const B(v)
+ : super(v),
+ b = v + 1.0;
}
class F {

Powered by Google App Engine
This is Rietveld 408576698