41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
15 lines
226 B
Kotlin
15 lines
226 B
Kotlin
class A {
|
|
private val sb: StringBuilder = StringBuilder()
|
|
|
|
fun String.plus() {
|
|
sb.append(this)
|
|
}
|
|
|
|
fun foo(): String {
|
|
+"OK"
|
|
return sb.toString()!!
|
|
}
|
|
}
|
|
|
|
fun box(): String = A().foo()
|