Escaping of keyword names in completion (more tests to be added)

This commit is contained in:
Valentin Kipyatkov
2014-08-13 22:39:09 +04:00
parent f5419cb04e
commit 5fb9aae68c
20 changed files with 151 additions and 67 deletions
@@ -144,4 +144,6 @@ public class BasicCompletionHandlerTest : CompletionHandlerTestBase(){
fun testNestedLocalClassCompletion() = doTest(1, "Nested", null, '\n')
fun testTypeArgOfSuper() = doTest(1, "X", null, '\n')
fun testKeywordClassName() = doTest(1, "class", null, '\n')
}
@@ -46,6 +46,10 @@ public class CompletionMultifileHandlerTest extends KotlinCompletionTestCase {
doTest();
}
public void testKeywordExtensionFunctionName() throws Exception {
doTest();
}
public void doTest() throws Exception {
String fileName = getTestName(false);