Skip to content

Commit

Permalink
improve t.throws docs - fixes #142
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 30, 2016
1 parent 135e53a commit 9f1a38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ Assert that `value` is deep equal to `expected`.

Assert that `value` is not deep equal to `expected`.

### .throws(function|promise, error, [message])
### .throws(function|promise, [error, [message]])

Assert that `function` throws an error or `promise` rejects.

Expand Down

0 comments on commit 9f1a38e

Please sign in to comment.