[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
+6 -6
View File
@@ -3,8 +3,6 @@
* that can be found in the LICENSE file.
*/
package codegen.`object`.fields
import kotlin.test.*
private var globalValue = 1
@@ -18,8 +16,10 @@ fun globalTest(i:Int):Int {
}
@Test fun runTest() {
if (global != 1) throw Error()
if (globalTest(41) != 42) throw Error()
if (global != 42) throw Error()
fun box(): String {
assertEquals(1, global)
assertEquals(42, globalTest(41))
assertEquals(42, global)
return "OK"
}