Ad
  • Default User Avatar

    what is a refferring value?

  • Custom User Avatar

    I actually do have problems too with Ruby. Basically the test are passing but in the random tests I fail cuz I'm supposed to add 'covfeve' even if the string included 'coverage'.

  • Custom User Avatar

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

  • Custom User Avatar

    I gained from this Kata a basic lesson ->

    if you find yourself needing to write out a if/else statement to return a refferring value
    reach for a Hash. It's far more clean than writing an if conditional.

  • Custom User Avatar

    I see
    Thanks!

  • Custom User Avatar

    As i said to @mamafrantz, the problem might be that you're changing the given string

  • Custom User Avatar

    you can stick puts tweet on the first line and see it on the console at runtime.

  • Custom User Avatar

    Fixed :)

  • Custom User Avatar

    Can you show me your code please ? I tested the string you gave me with the actual solution, and I got the correct answer, I'm pretty sure you're modifying the string given in input.

  • Custom User Avatar

    Imposible to solve in java, AssertEquals is not in the correct order, if you return "abc" it says "expected abc but was covfefe". Fix it, it's easy to fix, come on!

  • Custom User Avatar

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

  • Custom User Avatar

    I don't see a test case in ruby where covfefe("nothing") returns nothing.
    Also, sometimes coverage is the last word so the sentence ends with covfefe not because coverage was not found, but because coverage is the last word

  • Custom User Avatar

    Fixed :p

  • Custom User Avatar

    A kata by trump..

  • Custom User Avatar

    A nod to the house that is white :)

  • Loading more items...