[K/N][Tests] Adjust moved codegen tests to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
71a834b778
commit
73032213f0
@@ -3,8 +3,6 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.inlineClass.defaultEquals
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
inline class A(val x: Int)
|
||||
@@ -12,7 +10,7 @@ inline class B(val a: A)
|
||||
inline class C(val s: String)
|
||||
inline class D(val c: C)
|
||||
|
||||
@Test fun runTest() {
|
||||
fun box(): String {
|
||||
val a = A(42)
|
||||
val b = B(a)
|
||||
val c = C("zzz")
|
||||
@@ -21,4 +19,6 @@ inline class D(val c: C)
|
||||
assertTrue(b.equals(b))
|
||||
assertTrue(c.equals(c))
|
||||
assertTrue(d.equals(d))
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user