41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
10 lines
183 B
Kotlin
10 lines
183 B
Kotlin
fun box() : String {
|
|
var i = 0
|
|
{
|
|
i++
|
|
}()
|
|
i++ //the problem is here
|
|
// i = i + 1 //this way it works
|
|
return if (i == 2) "OK" else "fail"
|
|
}
|