Delete generated test cases, move testData to boxWithStdlib
This commit is contained in:
committed by
Alexander Udalov
parent
b311255d96
commit
714708eac7
@@ -0,0 +1,15 @@
|
||||
class Bar(val name: String)
|
||||
|
||||
class Baz {
|
||||
inner class Foo() {
|
||||
inner data class NestedFoo(val bar: Bar)
|
||||
|
||||
fun foo(): String {
|
||||
return NestedFoo(Bar("FAIL")).copy(bar = Bar("OK")).bar.name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Baz().Foo().foo()
|
||||
}
|
||||
Reference in New Issue
Block a user