[K/N][Tests] Adjust moved tests interfaceCallsNCasts..vector to new infra

^KT-61259
This commit is contained in:
Vladimir Sukharev
2023-12-16 23:54:04 +01:00
committed by Space Team
parent 93642020ff
commit bb8a7b6795
163 changed files with 841 additions and 672 deletions
@@ -3,8 +3,6 @@
* that can be found in the LICENSE file.
*/
package codegen.lateinit.notInitialized
import kotlin.test.*
class A {
@@ -13,14 +11,16 @@ class A {
fun foo() = s
}
@Test fun runTest() {
val sb = StringBuilder()
fun box(): String {
val a = A()
try {
println(a.foo())
sb.appendLine(a.foo())
}
catch (e: RuntimeException) {
println("OK")
return
sb.append("OK")
return sb.toString()
}
println("Fail")
return "Fail"
}