Closed DanielSmedegaardBuus closed 10 years ago
Yep, i will add it.
Cool, thanks! :)
On Wed, May 28, 2014 at 1:31 PM, Denis Bardadym notifications@github.comwrote:
Yep, i will add it.
— Reply to this email directly or view it on GitHubhttps://github.com/visionmedia/should.js/issues/208#issuecomment-44394926 .
I will close this as it already in master (will publish today or at weekend). If you have issues about it, pls create new one in shouldjs/should.js.
Hi :)
Since keys on an object have to be strings, IMHO I think it might make sense for should to cast integers before trying to compare. As it stands now, it gives AssertionError if you don't cast them yourself. E.g., I have to do:
to not get