Skip to content

Commit 9f1a38e

Browse files
committed
improve t.throws docs - fixes #142
1 parent 135e53a commit 9f1a38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ Assert that `value` is deep equal to `expected`.
584584

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

587-
### .throws(function|promise, error, [message])
587+
### .throws(function|promise, [error, [message]])
588588

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

0 commit comments

Comments
 (0)