Files
kotlin-fork/plugins/power-assert/testData/codegen/boolean/BooleanMixWithAndFirst.kt
T

5 lines
148 B
Kotlin
Vendored

fun box() = expectThrowableMessage {
val text: String? = "Hello"
assert(text != null && (text.length == 1 || text.toLowerCase() == text))
}