tj / should.js

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

Documentation, keys API #108

Closed calvernaz closed 11 years ago

calvernaz commented 11 years ago

I don't know if it is a typo or just a bad example of API usage, but anyway, I believe it could be,

From wiki documentation: var obj = { foo: 'bar', baz: 'raz' }; obj.should.have.keys('foo', 'bar'); obj.should.have.keys(['foo', 'bar']);

could be: var obj = { foo: 'bar', baz: 'raz' }; obj.should.have.keys('foo', 'baz'); obj.should.have.keys(['foo', 'baz']);

btd commented 11 years ago

Thanks.