mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 06:51:17 +07:00
[kotlin] add test for obsolete issue
^KTIJ-5382 GitOrigin-RevId: 097f0cef57395f8d2460883400b5446f1c390f52
This commit is contained in:
committed by
intellij-monorepo-bot
parent
864d555a43
commit
dedb1d3a77
+5
@@ -49,6 +49,11 @@ public abstract class FirParameterInfoTestGenerated extends AbstractFirParameter
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("ktij-5382.kt")
|
||||
public void testKtij_5382() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/ktij-5382.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("../idea/tests/testData/parameterInfo/arrayAccess/Overloads.kt");
|
||||
|
||||
+5
@@ -49,6 +49,11 @@ public abstract class ParameterInfoTestGenerated extends AbstractParameterInfoTe
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("ktij-5382.kt")
|
||||
public void testKtij_5382() throws Exception {
|
||||
runTest("testData/parameterInfo/arrayAccess/ktij-5382.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("testData/parameterInfo/arrayAccess/Overloads.kt");
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
fun test() {
|
||||
val a = arrayOf(1,2)
|
||||
assertEquals(0, a[<caret>0])
|
||||
}
|
||||
|
||||
fun <T> assertEquals(expected: T, actual: T, message: String? = null) {
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>index: Int</highlight>), Disabled: false, Strikeout: false, Green: true
|
||||
*/
|
||||
Reference in New Issue
Block a user