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

5 lines
146 B
Kotlin
Vendored

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