Skip to content

Commit 5368d62

Browse files
committed
doc: fixed jsdoc definition of assert.ifError() fn in lib/assert.js
1 parent 1093f38 commit 5368d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ assert.doesNotReject = async function doesNotReject(fn, ...args) {
682682
};
683683

684684
/**
685-
* Throws `value` if the value is not `null` or `undefined`.
685+
* Throws `AssertionError` if the value is not `null` or `undefined`.
686686
* @param {any} err
687687
* @returns {void}
688688
*/

0 commit comments

Comments
 (0)