Closed alexwhitman closed 11 years ago
+1
It is because .a
it is method to check typeof
. It is covered in docs.
That's all right, but then it is needed to remove from README that line which is in "Length" section: https://github.com/visionmedia/should.js#length
Yes, you right. I will fix it. I will reopen it for now, I have some idea about a
.
Fixed in v2.
[].should.have.length(0)
is fine.[].should.have.lengthOf(0)
is fine.[].should.have.a.lengthOf(0)
gives: