Files
openide/plugins/kotlin/idea/tests/testData/quickfix/when/commasInConditionWithNoArguments2.kt
2024-10-02 12:27:49 +00:00

11 lines
375 B
Kotlin

// "Replace ',' with '||' in when" "true"
fun test(a: Boolean, b: Boolean, c: Boolean) {
val c = when {
a<caret>, b -> "a"
c -> "b"
else -> "e"
}
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.CommaInWhenConditionWithoutArgumentFix