[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,14 +3,14 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package codegen.function.defaultsWithInlineClasses
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
inline class Foo(val value: Int)
|
||||
fun foo(x: Foo = Foo(42)) = x.value
|
||||
|
||||
@Test fun runTest() {
|
||||
fun box(): String {
|
||||
assertEquals(foo(), 42)
|
||||
assertEquals(foo(Foo(17)), 17)
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user