Files
kotlin-fork/idea/testData/intentions/convertIfToAssert/inapplicableHasElse.kt
T

9 lines
152 B
Kotlin

// IS_APPLICABLE: false
// WITH_RUNTIME
fun foo() {
if <caret>(1 == 0) {
throw AssertionError("text")
} else {
val x = 1
}
}