PY-16412 Suggest the intention when the caret is at the identifier's end

This commit is contained in:
Mikhail Golubev
2018-02-05 21:41:59 +03:00
committed by Andrey Vlasovskikh
parent 8c904faac4
commit 7c5c6d1a7e
6 changed files with 17 additions and 1 deletions
@@ -191,6 +191,14 @@ public class PyAnnotateVariableTypeIntentionTest extends PyIntentionTestCase {
doNegativeTest();
}
public void testAnnotationCaretAtReferenceEnd() {
doAnnotationTest();
}
public void testAnnotationCaretAtDefinitionNameEnd() {
doAnnotationTest();
}
private void doAnnotationTest() {
doTest(LanguageLevel.PYTHON36);
}