Skip to content

Commit

Permalink
Clarified all empty functionality in README example.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Feb 4, 2012
1 parent 7109b68 commit e0de582
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -108,6 +108,9 @@ expect([1,2,3]).to.have.length(3);

```js
expect([]).to.be.empty();
expect({}).to.be.empty();
expect({ length: 0, duck: 'typing' }).to.be.empty();
expect({ my: 'object' }).to.not.be.empty();
expect([1,2,3]).to.not.be.empty();
```

Expand Down

0 comments on commit e0de582

Please sign in to comment.