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.
The description still needs to be updated to reflect .toLowerCase() and .replace() having been disabled.
not an issue, unless you can "prove" it: what's the input? Without that, nobody can tell if your code is wrong or the tests. You can reopen with more information if you can prove the problem is in the tests.
Note: it's most likely your code, tho (look at the number of completions)
Cheers
Please fix random tests
expected [ 'b', 'c', 'd', 'e' ] to have the same ordered members as [ 'a' ]
Don't forget, there is a default value.
https://docs.codewars.com/training/troubleshooting/#print-input
This comment is hidden because it contains spoiler information about the solution
Expected: '['a', 'b', 'c', 'd', 'e']', instead got: '['a', 'b', 'c', 'd', 'e', undefined, undefined, undefined, undefined, undefined]'
104 tests: Passed, 1 test: Fail.
How can i understand where is a problem if i can't see the input of random tests?
same problem
Yes, reset fix the error raised in basic tests
Click
Reset
, see if the sample tests are different, try again.Your solution passes all tests, fixed and random. It's rare but it happened to me several times: a valid solution fails on first trial, and then passes repeatedly. Probably some kind of bug...
basic tests 1 failed, but attempt button all tests passed
test.assert_equals(first(seq, 0), []);
fixed
No problem... you've passed the kata. (???)
Loading more items...