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.
what is a refferring value?
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'.
This comment is hidden because it contains spoiler information about the solution
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.
I see
Thanks!
As i said to @mamafrantz, the problem might be that you're changing the given string
you can stick
puts tweet
on the first line and see it on the console at runtime.Fixed :)
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.
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!
This comment is hidden because it contains spoiler information about the solution
I don't see a test case in ruby where
covfefe("nothing")
returnsnothing
.Also, sometimes
coverage
is the last word so the sentence ends withcovfefe
not becausecoverage
was not found, but becausecoverage
is the last wordFixed :p
A kata by trump..
A nod to the house that is white :)
Loading more items...