[Tests] Removed moved tests from old testing

^KT-64256 Fixed
This commit is contained in:
Vladimir Sukharev
2023-12-13 02:25:11 +01:00
committed by Space Team
parent e15068c62f
commit df2dcccbf7
12 changed files with 55 additions and 777 deletions
@@ -26,26 +26,4 @@ fun box(): String {
}
}
return "OK"
}
class Foo(size: Int) {
val array = IntArray(size)
}
class Bar {
val smallFoo = Foo(1)
val largeFoo = Foo(10)
val smallArray = smallFoo.array
val largeArray = largeFoo.array
}
@Test fun differentArrays() {
val bar = Bar()
assertFailsWith<IndexOutOfBoundsException> {
for (index in 0 until bar.largeArray.size) {
bar.smallArray[index] = 6
}
}
}