Skip to content

Commit

Permalink
Merge pull request #381 from astorije/patch-1
Browse files Browse the repository at this point in the history
Add a minor precision that empty asserts on strings too.
  • Loading branch information
keithamus committed Feb 28, 2015
2 parents 2cad0dc + d080d1a commit a97680f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ module.exports = function (chai, _) {
/**
* ### .empty
*
* Asserts that the target's length is `0`. For arrays, it checks
* Asserts that the target's length is `0`. For arrays and strings, it checks
* the `length` property. For objects, it gets the count of
* enumerable keys.
*
Expand Down

0 comments on commit a97680f

Please sign in to comment.