Update lengthOf examples

This commit is contained in:
Keith Cirkel 2015-05-13 09:05:00 +01:00
parent d3696cafaf
commit dcca61d04e

View file

@ -965,8 +965,8 @@ module.exports = function (chai, _) {
* Asserts that the target's `length` property has
* the expected value.
*
* expect([ 1, 2, 3]).to.have.length(3);
* expect('foobar').to.have.length(6);
* expect([ 1, 2, 3]).to.have.lengthOf(3);
* expect('foobar').to.have.lengthOf(6);
*
* @name lengthOf
* @param {Number} length