Skip to content

Commit

Permalink
Merge pull request #529 from dxuehu/fix/assertLengthOfDocs
Browse files Browse the repository at this point in the history
Fix assert lengthOf example
  • Loading branch information
keithamus committed Oct 6, 2015
2 parents 6d0ae35 + 7c14c15 commit da87695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chai/interface/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ module.exports = function (chai, util) {
* Asserts that `object` has a `length` property with the expected value.
*
* assert.lengthOf([1,2,3], 3, 'array has length of 3');
* assert.lengthOf('foobar', 5, 'string has length of 6');
* assert.lengthOf('foobar', 6, 'string has length of 6');
*
* @name lengthOf
* @param {Mixed} object
Expand Down

0 comments on commit da87695

Please sign in to comment.