| Index: pkg/analysis_server/test/services/correction/fix_test.dart
|
| diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| index 7406f2f50d553b22ad472e527ec1f52275ed7d3f..6625ff2244dcf83c26f204c7b29f19cbb5f50dce 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -600,6 +600,18 @@ class B extends A {
|
| assertNoFix(FixKind.CREATE_CONSTRUCTOR_SUPER);
|
| }
|
|
|
| + void test_createField_BAD_inEnum() {
|
| + resolveTestUnit('''
|
| +enum MyEnum {
|
| + AAA, BBB
|
| +}
|
| +main() {
|
| + MyEnum.foo;
|
| +}
|
| +''');
|
| + assertNoFix(FixKind.CREATE_FIELD);
|
| + }
|
| +
|
| void test_createField_BAD_inSDK() {
|
| resolveTestUnit('''
|
| main(List p) {
|
|
|