Ad
  • Custom User Avatar

    Your code works, just click Attempt directly or write you own TDD sample tests.

  • Custom User Avatar

    And fixed TS too, closing.

  • Default User Avatar

    Ruby fixed.

  • Custom User Avatar

    Only TypeScript left then, CoffeScript fixed too.

  • Default User Avatar

    Ruby is fixed.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Re-raised issue with details about the problem.

  • Custom User Avatar

    Re-raised issue with details about the problem.

  • Default User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    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.

  • Custom User Avatar

    Fixed.

  • Custom User Avatar

    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.

    JavaScript Completions 3663

    If the kata were broken as you claim, how that many people passed it?

  • Default User Avatar

    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.

  • Custom User Avatar

    The function's name should be solution not shortLongShort that's why your code doesn't pass the tests. And next time mark your post as having spoiler content.

  • Loading more items...