Closed calvernaz closed 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']);
Thanks.
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']);