tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

lengthOf appears broken in 3.0.0 #167

Closed scytacki closed 10 years ago

scytacki commented 10 years ago

I get a message: TypeError: Object #<Assertion> has no method 'lengthOf' when calling .should.have.lengthOf

looking at the code, it looks the order of arguments to Assertion.alias is reversed.

yamadapc commented 10 years ago

That seems like the cause.