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