mirror of
https://github.com/chaijs/chai
synced 2024-11-15 00:07:11 +00:00
Update lengthOf
examples
This commit is contained in:
parent
d3696cafaf
commit
dcca61d04e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue