Skip to content

Commit 74c74db

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 <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent c6e4ffa commit 74c74db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/deprecations.md

Lines changed: 3 additions & 3 deletions
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)