Skip to content

Commit

Permalink
Merge pull request #444 from chaijs/update-lengthof-docs
Browse files Browse the repository at this point in the history
Update `lengthOf` examples
  • Loading branch information
keithamus committed May 13, 2015
2 parents e2fb33d + dcca61d commit e4286f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chai/core/assertions.js
Expand Up @@ -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
Expand Down

0 comments on commit e4286f8

Please sign in to comment.