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.
I see the problem now. Thank you.
Well, that's the problem this kata is posing to you. "If the problem were different, my solution would be right, because I solved a different problem" isn't really an issue with the kata...
Expected [a] but got [b]
means your code returned[b]
, but the correct answer is[a]
. "First A Of In" is the correct result if "a", "of" and "in" aren't considered minor words.This comment is hidden because it contains spoiler information about the solution
And how your solution returning a wrong value is an issue?
There seems to be a problem with one of the tests, unless others solved it and I misunderstood.
My solution passes the initial 3 tests but then returns a failure on submission with the message,
"Gave title="First a of in", minorWords="an often into". Expected "First A Of In" but got "First a of in"."
I had to hard code a solution because that test case was in my opinion extremely odd.