[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,16 +3,16 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.propertyCallableReference.valClass
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
class A(val x: Int)
|
||||
|
||||
@Test fun runTest() {
|
||||
fun box(): String {
|
||||
val p1 = A::x
|
||||
println(p1.get(A(42)))
|
||||
assertEquals(42, p1.get(A(42)))
|
||||
val a = A(117)
|
||||
val p2 = a::x
|
||||
println(p2.get())
|
||||
assertEquals(117, p2.get())
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user