| Index: tests/language/const_init_test.dart
|
| diff --git a/tests/language/const_init_test.dart b/tests/language/const_init_test.dart
|
| index 989fa28a2ca64b36fa23d215f3830e356484e98b..89787a71ab96a590fec78b0715d61f00948cc758 100644
|
| --- a/tests/language/const_init_test.dart
|
| +++ b/tests/language/const_init_test.dart
|
| @@ -10,15 +10,15 @@ class Point {
|
| }
|
|
|
| class ConstInitTest {
|
| - static final N = 1;
|
| - static final O = 1 + 3;
|
| - static final P = 2 * (O - N);
|
| - static final Q = const Point(0, 0);
|
| + static const N = 1;
|
| + static const O = 1 + 3;
|
| + static const P = 2 * (O - N);
|
| + static const Q = const Point(0, 0);
|
|
|
| - static final Q2 = const Point(0, 0);
|
| - static final P2 = 2 * (O - N);
|
| - static final O2 = 1 + 3;
|
| - static final N2 = 1;
|
| + static const Q2 = const Point(0, 0);
|
| + static const P2 = 2 * (O - N);
|
| + static const O2 = 1 + 3;
|
| + static const N2 = 1;
|
|
|
| static testMain() {
|
| Expect.equals(1, N);
|
|
|