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

5 lines
148 B
Kotlin
Vendored

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