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.
And that's what the test expects. Both
the
are lowercase. Not a kata issue.When studying the testing code, I noticed that the line test.assert_equals(to_camel_case("the_stealth_warrior"), "theStealthWarrior", "to_camel_case('the_stealth_warrior') did not return correct value") expects the result of calling the function to_camel_case("the_stealth_warrior" ) will be equal to "theStealthWarrior". However, according to the conditions of the task, the first word should be capitalized only if the original word was capitalized. In the case of "the_stealth_warrior", the first word "the" starts with a lowercase letter and must remain the same in the resulting string.