Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
For correct indentation and format you have to use ` . Three times at beginning and three times at ending.
Great! You're welcome!
You are only checking for an empty array, but not for null/nil/none.
This comment is hidden because it contains spoiler information about the solution
Put here your solution and mark it as spoiler. The translation should work now.
Do you check for null/nil/nonetype or empty before?
Try once again please. There was a problem in publishing the fix before.
@fesenkod: Please try again.
Sorry, that's my bad. Please approve the fixed translation. I had to create a fork as the description of the original kata had been changed. Please approve.
Regards,
suic
Ok, sounds really like a problem. I asked the warrior, who did the translation for help.
Which language? Ruby?
An empty array should return 0. It is in the description.
The message from the used test-framework is not so good.