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.
Expected value should be calculated before calling the user's function in Ruby, because strings are mutable and it can lead to unexpected behaviour.
Just tested it and it worked fine for me, remember strings in Ruby are mutable, so, if your code fails only random tests, that could be it.
Hi Test cases for ruby are still failing when my code is working correctly.