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.
Your code works, just click Attempt directly or write you own TDD sample tests.
And fixed TS too, closing.
Ruby fixed.
Only TypeScript left then, CoffeScript fixed too.
Ruby is fixed.
After some digging in the testing code, I see the tests are indeed broken, but not in the way you thought.
Fixed javascript tests, try again.
FYI, until not so long ago, katas that were solved more than 500 times, got their tests locked, so if the tests were broken or bugged nothing could be done. Now that limit was removed and fixing those katas is done when possible. Remember people who fix the katas do that for free and in their own time.
Re-raised issue with details about the problem.
Re-raised issue with details about the problem.
Oh whatever...I just got it as a weekly challenge so I didn't realize it was outdated thing nobody cares about anymore. Every time I come here and try a challenge it's the same thing.
This comment is hidden because it contains spoiler information about the solution
If the kata were not broken as I claim, how that many people say it's broken right here in the comments?
Me pasting code shows the code works because a basic console spits out the correct answer regardless of what 2 strings you feed it. The katas are always just messed up here with either bad instructions or bad scripting to test the answers. You have a correct solution but can get nothing but 'failed' all the live long day here.
Fixed.
There are no sample tests, because this is an old kata and you had to write it for yourself, have you tried clicking Attempt? And you pasting code has nothing to do with the kata working (for you) or not.
If the kata were broken as you claim, how that many people passed it?
Nope, tried that and it didn't work. So, yeah, not going to mark it as spoiler when I see nothing but issues about a broken kata.
The function's name should be
solution
notshortLongShort
that's why your code doesn't pass the tests. And next time mark your post as having spoiler content.Loading more items...