Skip to content

Commit f8fcb1c

Browse files
pr4j3shaduh95
authored andcommitted
doc: fix jsdoc definition of assert.ifError() fn in lib/assert.js
PR-URL: #58573 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Jordan Harband <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent de2b85b commit f8fcb1c

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
@@ -707,7 +707,7 @@ assert.doesNotReject = async function doesNotReject(fn, ...args) {
707707
};
708708

709709
/**
710-
* Throws `value` if the value is not `null` or `undefined`.
710+
* Throws `AssertionError` if the value is not `null` or `undefined`.
711711
* @param {any} err
712712
* @returns {void}
713713
*/

0 commit comments

Comments
 (0)