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.
This comment is hidden because it contains spoiler information about the solution
Thanks a lot! Applied your corrections.
Thank you very much for supporting my kata :) Actually it was a test task on my first job interview and I failed it :))) Yep, I agree with you that tests in this kata are not realy good, but they work after all :) I can't even imagine myself sitting and hardcoding all that lines and numbers :) I would appreciate if you give me some clue how it could bo done in a "normal" way :))
Excelent kata! Had a lot of fan and sleepless nights :) You've made a great job! I only need voice my concern about two single quotes that should be escaped as a single quote. I didn't know about that and a bit stuck trying to figure out what the heck is going on here. I should read kata description more carefuly next time... Anyways, thanks a lot for all the great work you're duing here!
Yep, it seems this kata has been broken somehow... Frankly I have no clues what happened and why it doesn't work at the moment. Sorry for wasting your time guys... Will try to fix that.
Are you sure that your random tests are correct? I have no idea why it expects false when the ticket is not used and the code is correct. I use closures so there are no ways to change used param directly. Please give me some clue what I'm duing wrong.
P.S. I read the comments below and they didn't help.
Great kata, but why do you pass a list of arguments into the invoke function as array .invoke([arg1, arg2 ...])? I guess it would be better to pass arguments as usual .invoke(arg1, arg2 ...)
I've tried to past my solution which I made few month ago, and it doesn't work at all. Just empty screen with title 'Nope, try again'. I guess codewars' guys may change something in the engine and this kata becomes invalid or something like that... Hopefully they will fix this issue because kata is really cool :(
Oh, sure, it seems I got it.
I guess the problem with the single word lines. You don't need to feel the rest of spaces, just put
\n
right after the word.Are you sure that you implemented this rule?
Yep, it's my fault. Test annoation is not correct for the last line. I've fixed this test case and now it should work properly, please try again. If you changed nothing from the last revision you should get such message:
Line length is not equal 11 - Expected: 11, instead got: 15
Could you please try another time? It seems the bug is already fixed, but I'm not sure.
Thanks for the comment. Seems it's not my bug. I've sent a bug report to codewars' guys. I'll notice you when this issue is fixed.
You've lost the last word
dolor.
Oh, yeah, thank you very much for the help. Added your test :)
Loading more items...