Ad
  • Custom User Avatar

    precisely the same error I am facing. Also the author has given only one example. Which makes it damn hard to "TEST". Its simply NOT very helpful and consumes a lot of time while sovling. In real world you will get plenty of helpful errors. Also it seems from now on, I ll need to scan the discussion section for existing issues with kata.

  • Custom User Avatar

    SomeGuy, your code produces double spaces between words - that's the problem.

  • Custom User Avatar

    Hello all,

    could you (those who didn't) please provide your solutions for further testing? Because some of your solutions have additional spaces and that's why they don't work. I. e. SnooperSnayk solution makes two spaces between words instead of one... For specialkv solution I suspect there might be a space at the end.

    Please make sure spaces are alright in your produced sentences.

  • Custom User Avatar

    The instruction says: 'If hash does not contain at least one of the key given as an argument, method should raise an exception.'. In the test I gave two keys: one is correct (it is present in the hash), the second is not present in the hash. So at least one of the given key is not present in the hash. I don't see error in the description. Do you think that description:

    'If any of the keys given as an argument is not present in the hash, the method should raise the an exception'.

    will be more clear?

    hh9 - it's really not so easy to create kata and make it clear for everyone. I see that you haven't create any yet. Please try and you will see :)

  • Custom User Avatar

    I had this problem too. Either the instructions or the test case needs to be fixed. Kata authors need to be aware that this makes their katas annoying and unenjoyable. Please be explicit about what you expect out of our code and be consistent in your test cases!!

  • Custom User Avatar

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

  • Custom User Avatar

    I'm having the same problem, but with dots.

    should handle sentences that already have a period at the end:
    Test Failed: Expected: hello world., instead got: hello world. 
    Test Failed: Expected: Bye., instead got: Bye. 
    

    should fix sentences that have multiple periods at the end:
    Test Failed: Expected: hello world., instead got: hello world.
    Test Failed: Expected: The Earth rotates around The Sun in 365 days, I know that., instead got: The Earth rotates
    around The Sun in 365 days, I know that.

  • Custom User Avatar

    Issue confirmed, I'm having the same problem, even on tests I wrote myself but, only with a comma...