I wrote the correct code for the twofer problem:
fun main() {
val name = readLine()
val output = twofer(name)
println(output)
}
fun twofer(name: String?): String {
return if (name != null) {
"One for $name, one for me."
} else {
"One for you, one for me."
}
}```
But it keeps telling me:
```kt
[ERROR] src/test/kotlin/TwoFerTest.kt:[9,56] No value passed for parameter 'name'```
It also runs fine on an online compiler: