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.
Error on the author's part probably or how the assertions are run
I do the same.
Usually I'd suggest to write the
return
in the same line after theif
instead to better indicate it's anif
body that is valid for one line only. Never forget thatgoto fail
bug ;-)I highly recommend using curly brackets
{ }
for theif
block for better readability, so the code reviewer won't be confused, like for example "why there are two returs?" for this sample code.