Skip to content

Commit f31944a

Browse files
TrottMylesBorins
authored andcommitted
doc: edit text for DEP0094
Make deprecation text slightly more concise and direct. PR-URL: #20519 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 16c60a9 commit f31944a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/deprecations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -861,9 +861,9 @@ and `crypto.getFips()` instead.
861861
862862
Type: Runtime
863863
864-
Using `assert.fail()` with more than one argument has no benefit over writing an
865-
individual error message. Either use `assert.fail()` with one argument or switch
866-
to one of the other assert methods.
864+
Using `assert.fail()` with more than one argument is deprecated. Use
865+
`assert.fail()` with only one argument or use a different `assert` module
866+
method.
867867
868868
<a id="DEP0095"></a>
869869
### DEP0095: timers.enroll()

0 commit comments

Comments
 (0)