Files
kotlin-fork/idea/testData/intentions/convertAssertToIf/functionCallCondition.kt.after
T
2014-04-15 19:26:39 -04:00

8 lines
117 B
Plaintext

// WITH_RUNTIME
fun foo() {
if (!bar()) {
throw AssertionError("text")
}
}
fun bar(): Boolean = true