Files
kotlin-fork/plugins/power-assert/testData/codegen/infix/RegexInfix.kt
T
2024-02-07 21:51:17 +00:00

8 lines
187 B
Kotlin
Vendored

// IGNORE_BACKEND_K1: JVM_IR
// IGNORE_BACKEND_K2: JVM_IR
// Disabled because of KT-65640
fun box() = expectThrowableMessage {
assert("Hello, World" matches "[A-Za-z]+".toRegex())
}