Fixed KeywordCompletionTests.
This commit is contained in:
@@ -8,7 +8,6 @@ class TestSample() {
|
||||
// EXIST: vararg
|
||||
// EXIST: noinline
|
||||
// EXIST: crossinline
|
||||
// EXIST: coroutine
|
||||
/* TODO: val&var are not correct */
|
||||
// EXIST: val
|
||||
// EXIST: var
|
||||
|
||||
@@ -14,7 +14,6 @@ class TestSample(<caret>)
|
||||
// EXIST: private
|
||||
// EXIST: protected
|
||||
// EXIST: internal
|
||||
// EXIST: coroutine
|
||||
// EXIST: impl
|
||||
/* TODO: keywords below should not be here*/
|
||||
// EXIST: abstract
|
||||
|
||||
@@ -5,7 +5,6 @@ fun test(<caret>) {
|
||||
// EXIST: vararg
|
||||
// EXIST: noinline
|
||||
// EXIST: crossinline
|
||||
// EXIST: coroutine
|
||||
/* TODO: they all are not correct */
|
||||
// EXIST: val
|
||||
// EXIST: var
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
val a : <caret>
|
||||
|
||||
|
||||
// EXIST: suspend
|
||||
// NOTHING_ELSE
|
||||
+6
@@ -324,6 +324,12 @@ public class KeywordCompletionTestGenerated extends AbstractKeywordCompletionTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("InTypePosition.kt")
|
||||
public void testInTypePosition() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/keywords/InTypePosition.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("LabeledLambdaThis.kt")
|
||||
public void testLabeledLambdaThis() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/keywords/LabeledLambdaThis.kt");
|
||||
|
||||
Reference in New Issue
Block a user