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.
no do not worry, there was nothing you could do, it's an old Codewars flaw, i had just not foreseen it would happen
should I have done something different?
well that reset the timer :facepalm:
approvable in 1 week ...
it's not really an "issue" but a mistake people are likely to make, and that makes one scratch their head for a moment. what caused it for me was that in prototype methods,
this
always has typeobject
, even for primitives (they are "boxed"), i.e. :and
assert.deepEqual(new String('abc'), 'abc');
fails (as it should, imo). but once stringified by chai, they look identicalfork approved, issue fixed
fork
merge conflict
it'll be tough to fix since the stringification happens as one would expect, and I think
deepEqual()
failing is the right behavior. It was interesting to figure out what was happening too. I dont know what should be done here - a warning in the description ? a dedicatedit()
block with an helpful title ?check the warnings generated by your code. also check this out:
this is why you needed a cast.
i added random tests to JavaScript
done
approved
added to Ruby, C++
added + enabled Ruby 3.0 + RSpec assertions
fork for C
Loading more items...