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.
nevermind i got it :]
the output is #
What does your solution return for following test case? What should it return?
generateHashtag(" ".repeat(200))
You are getting the same error all the time because you have the same bug all the time.
We do not know what bug it is, because we do not know your code.
can anyone please tell me why do i keep getting this same error?the error, Still an empty string: expected '#' to equal false
This comment is hidden because it contains spoiler information about the solution
This seems to be a very poorly written test. A lot of the conditions are only made clear in the test cases, and the description explicitly states that the method should return false in some cases and String in others, yet the method return value is String. It's not clear that it actually means it should return an empty string when it's invalid, unless you look at the tests