Files
openide/jvm/jvm-analysis-kotlin-tests/testSrc/com/intellij/codeInspection/tests/kotlin/KotlinSameParameterValueLocalInspectionTest.kt
Anna Kozlova be66ff9c01 uast: don't report same parameter value if call doesn't provide argument
^KTIJ-27074 fixed

GitOrigin-RevId: 7f707d73e9b5ee087eae7a3c81cfa639eb1dce6c
2023-11-01 16:38:37 +00:00

30 lines
579 B
Kotlin

package com.intellij.codeInspection.tests.kotlin
import com.intellij.jvm.analysis.internal.testFramework.SameParameterValueInspectionTestBase
class KotlinSameParameterValueLocalInspectionTest : SameParameterValueInspectionTestBase(true) {
fun testEntryPoint() {
doHighlightTest(runDeadCodeFirst = true)
}
fun testMethodWithSuper() {
doHighlightTest()
}
fun testVarargs() {
doHighlightTest()
}
fun testNamedArg() {
doHighlightTest()
}
fun testNegativeDouble() {
doHighlightTest()
}
fun testReceiver() {
doHighlightTest()
}
}