Skip to content

Commit b36fa0f

Browse files
pr4j3shtargos
authored andcommitted
doc: fix jsdoc definition of assert.ifError() fn in lib/assert.js
PR-URL: #58573 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 8741da8 commit b36fa0f

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)