Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f31944a

Browse filesBrowse 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 16c60a9 commit f31944a
Copy full SHA for f31944a

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.