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 29ce28a3cebd01d7f92036a701263bafeac15688..30ba49062303abd28d6e3fd92cb665bf9208b666 100644 |
--- a/pkg/analysis_server/test/services/correction/assist_test.dart |
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart |
@@ -358,6 +358,15 @@ main(List<String> items) { |
'''); |
} |
+ test_addTypeAnnotation_local_BAD_bottom() async { |
+ await resolveTestUnit(''' |
+main() { |
+ var v = throw 42; |
+} |
+'''); |
+ await assertNoAssistAt('var ', DartAssistKind.ADD_TYPE_ANNOTATION); |
+ } |
+ |
test_addTypeAnnotation_local_BAD_hasTypeAnnotation() async { |
await resolveTestUnit(''' |
main() { |