| 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 9a493c70abe1bee63c9ed0dc0169c1af4b1f6290..ec60d939a3837eb3dd6abfe104ef4ac1e5531f34 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -3441,7 +3441,9 @@ main() {
|
| AnalysisError _findErrorToFix() {
|
| List<AnalysisError> errors = context.computeErrors(testSource);
|
| errors.removeWhere((error) {
|
| - return error.errorCode == HintCode.UNUSED_ELEMENT ||
|
| + return error.errorCode == HintCode.UNUSED_CATCH_CLAUSE ||
|
| + error.errorCode == HintCode.UNUSED_CATCH_STACK ||
|
| + error.errorCode == HintCode.UNUSED_ELEMENT ||
|
| error.errorCode == HintCode.UNUSED_FIELD ||
|
| error.errorCode == HintCode.UNUSED_LOCAL_VARIABLE;
|
| });
|
|
|