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.
Yup, this got me too. The description ought to make explicit the requirement that there be no newline character at the end.
Your English is perfecly fine, don't worry. :) Yes, preloaded MORSE_CODE is a bit different from Wikipedia page (for example, it contains SOS as a single signal).
The point of this kata is not in copypasting of data from Wikipedia, the point is creating a correct algorithm using existing data, whatever they are.
As for your Unknown error, I could suppose 3 reasons for that:
Your example doesnt work for me :(
When im using MORSE_CODE in my code im getting "Test didn't pass: Unknown error".
OK, i created my own MORSE_CODE array based on wikipedia, now im getting "SOS THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG,', expected 'SOS! THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG." Curiously, i think preloaded MORSE_CODE is different from a wiki morse. How can i get the correct(?) value so that I could pass that test
(sorry for my english im 11 year-old schoolboy from bangladesh)
I don't want debate about semicolons but I just don't like them. I found my code cleaner without it.
Just like that, it's a global variable.
Same problem I guess ^_^' Extra newline at the end of pattern string(output).