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.
You should return a string mutated to that char for the whole string. The rest of the instructions tell you what to do in some edge cases.
I'm talking about for when neither text or character are empty. I don't think returning a string of "hi" is what it wants in those instances. There are only instructions for what to do for when either character or text are empty.
See the example, your function should return a string.
I'm getting a 'Kata.Contamination(string, string)': not all code paths return a value error.
The directions ask to do something if either test or character are empty, but what if both aren't? Am I meant to return something else?