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 c69487ea5bc2bff57f1cee3335b99a47e0ac1894..853a4488837dafc316da747af9ec0f5dcc30426f 100644 |
--- a/pkg/analysis_server/test/services/correction/fix_test.dart |
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart |
@@ -252,22 +252,6 @@ class Test { |
'''); |
} |
- test_addIgnoreWarning() async { |
- resolveTestUnit(''' |
-main() { |
- int x = ''; //invalid_assignment |
-} |
-'''); |
- await assertHasFix( |
- DartFixKind.IGNORE_ERROR, |
- ''' |
-main() { |
- //ignore: invalid_assignment |
- int x = ''; //invalid_assignment |
-} |
-'''); |
- } |
- |
test_addMissingParameter_function_positional_hasNamed() async { |
resolveTestUnit(''' |
test({int a}) {} |
@@ -489,8 +473,6 @@ main() { |
} |
if (error.message == message2) { |
List<Fix> fixes = await _computeFixes(error); |
- // remove ignore fix |
- fixes.removeWhere((Fix fix) => fix.kind == DartFixKind.IGNORE_ERROR); |
// has exactly one fix |
expect(fixes, hasLength(1)); |
Fix fix = fixes[0]; |