Move IR interpreter's tests from ir/loweredIr directory into box
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_K1: JVM_IR
|
||||
// WITH_STDLIB
|
||||
|
||||
const val trimIndent = "123".trimIndent()
|
||||
const val complexTrimIndent =
|
||||
"""
|
||||
ABC
|
||||
123
|
||||
456
|
||||
""".trimIndent()
|
||||
|
||||
fun box(): String {
|
||||
if (trimIndent != "123") return "Fail 1"
|
||||
if (complexTrimIndent != "ABC\n123\n456") return "Fail 2"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user