| 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 1136a5e828e297573c22beb8e4ee914633acfc9d..65892205fb70e123f4289e5dcfcf47fd23aae8c3 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -421,6 +421,22 @@ main() {
|
| _assertLinkedGroup(change.linkedEditGroups[0], ['named(int ', 'named(1']);
|
| }
|
|
|
| + void test_createConstructorForFinalFields_inTopLevelMethod() {
|
| + resolveTestUnit('''
|
| +main() {
|
| + final int v;
|
| +}
|
| +''');
|
| + assertNoFix(FixKind.CREATE_CONSTRUCTOR_FOR_FINAL_FIELDS);
|
| + }
|
| +
|
| + void test_createConstructorForFinalFields_topLevelField() {
|
| + resolveTestUnit('''
|
| +final int v;
|
| +''');
|
| + assertNoFix(FixKind.CREATE_CONSTRUCTOR_FOR_FINAL_FIELDS);
|
| + }
|
| +
|
| void test_createConstructorSuperExplicit() {
|
| resolveTestUnit('''
|
| class A {
|
|
|