[K/N][Tests] Adjust moved tests interfaceCallsNCasts..vector to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
93642020ff
commit
bb8a7b6795
@@ -3,19 +3,19 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.lateinit.localNotInitialized
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
@Test fun runTest() {
|
||||
val sb = StringBuilder()
|
||||
|
||||
fun box(): String {
|
||||
lateinit var s: String
|
||||
|
||||
try {
|
||||
println(s)
|
||||
sb.appendLine(s)
|
||||
}
|
||||
catch (e: RuntimeException) {
|
||||
println("OK")
|
||||
return
|
||||
sb.append("OK")
|
||||
return sb.toString()
|
||||
}
|
||||
println("Fail")
|
||||
return "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user