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.
Thanks for the heads up. I'm pretty sure this was passing before but they must have added more test cases.
[warning] It doesnt pass the test
No. The task does not specify this.
Yeah you're right, I must have overlooked that. I think I might have just reused the methods I wrote for the other kata in this series, without really paying attention to what each one returned.
Sorry but the kata is planned as such. "Actual" methods are tested through
oper
. If they are falsy the tests will go wrong.ruby version:
Test plan is wrong, since developer can end up with successfull testing but only code inside
oper
. there should be tests for actuall methods as wellDefinitely it is a clever solution, however it is wrong since those methods should return the joined string not array. Actually the main issue is with test plan which tests only
oper
not all methods directly.Can you add this to test case, most of soloutions don't work if there are spaces at the beginning or end of sentence
[
" There are spaces at both ends ",
" There Are Spaces At Both Ends "
]
Fails with this " this is wrong "