Index: pkg/analysis_server/test/services/correction/assist_test.dart |
diff --git a/pkg/analysis_server/test/services/correction/assist_test.dart b/pkg/analysis_server/test/services/correction/assist_test.dart |
index 42513f362aedebce1c78491c0eb4e96d6de95e7b..5c84d352885c1f3b5fab087751562723121bd129 100644 |
--- a/pkg/analysis_server/test/services/correction/assist_test.dart |
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart |
@@ -3317,6 +3317,14 @@ main() { |
'''); |
} |
+ test_removeTypeAnnotation_topLevelVariable_BAD_syntheticName() async { |
+ verifyNoTestUnitErrors = false; |
+ resolveTestUnit(''' |
+MyType |
+'''); |
+ await assertNoAssistAt('MyType', DartAssistKind.REMOVE_TYPE_ANNOTATION); |
+ } |
+ |
test_removeTypeAnnotation_topLevelVariable_OK() async { |
resolveTestUnit(''' |
int V = 1; |