Skip to content

Commit eaebfab

Browse files
authored
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 cdadb20 commit eaebfab

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)