No value is passed for TwoFer test in Kotlin track

Hi,

I was working on the Kotlin track and while running the test it was failing with the following issue
src/test/kotlin/TwoFerTest.kt:[9,56] No value passed for parameter 'name'

The value needs to be passed in test

Hi,
you should define your function so that it could be invoked with or without an argument. Hint: look into default arguments

These exercises have been solved by hundreds and thousands of users, you should generally assume that the tests are correct.

2 Likes

Sure thanks I will look into that thanks :D