Index: tests/language/const_constructor_super_test.dart |
diff --git a/tests/language/const_constructor_super_test.dart b/tests/language/const_constructor_super_test.dart |
index b8bb9e206291644c6442f60f933f4671ead6cc0f..2b5adb30418aebe4a9eb155840129fa844074085 100644 |
--- a/tests/language/const_constructor_super_test.dart |
+++ b/tests/language/const_constructor_super_test.dart |
@@ -6,15 +6,13 @@ import "package:expect/expect.dart"; |
class A { |
final a; |
- A(this.a); // Not const. |
+ A(this.a); // Not const. |
const A.five() : a = 5; |
} |
class B extends A { |
final b; |
- B(x) |
- : b = x + 1, |
- super(x); |
+ B(x) : b = x + 1, super(x); |
// Const constructor cannot call non-const super constructor. |
const B.zerofive() : b = 0, super(5); // //# 01: compile-time error |