| Index: tests/language/const_error_multiply_initialized_test.dart
|
| diff --git a/tests/language/const_error_multiply_initialized_test.dart b/tests/language/const_error_multiply_initialized_test.dart
|
| index 896b1a3145345d5d3023128d8ae7a70bee8ab8c6..104bed70c6103fb8e312f17986608d15cc0fb9a4 100644
|
| --- a/tests/language/const_error_multiply_initialized_test.dart
|
| +++ b/tests/language/const_error_multiply_initialized_test.dart
|
| @@ -14,15 +14,15 @@ import "package:expect/expect.dart";
|
|
|
| class C {
|
| final x = 1;
|
| - const C() : x = 2; /// 01: compile-time error
|
| - const C() : x = 2; /// 02: static type warning
|
| - const C(this.x); /// 03: compile-time error
|
| - const C(this.x); /// 04: static type warning
|
| + const C() : x = 2; //# 01: compile-time error
|
| + const C() : x = 2; //# 02: static type warning
|
| + const C(this.x); //# 03: compile-time error
|
| + const C(this.x); //# 04: static type warning
|
| }
|
|
|
| main() {
|
| - const C(); /// 01: continued
|
| - Expect.throws(() => new C()); /// 02: continued
|
| - const C(2); /// 03: continued
|
| - Expect.throws(() => new C(2)); /// 04: continued
|
| + const C(); //# 01: continued
|
| + Expect.throws(() => new C()); //# 02: continued
|
| + const C(2); //# 03: continued
|
| + Expect.throws(() => new C(2)); //# 04: continued
|
| }
|
|
|