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

12 lines
240 B
Kotlin
Vendored

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