From 74c74db35eaa2dd2f5c22880ae007f19ad6e48bd Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 4 May 2018 09:56:45 -0700 Subject: [PATCH] doc: edit text for DEP0094 Make deprecation text slightly more concise and direct. PR-URL: https://github.com/nodejs/node/pull/20519 Reviewed-By: Vse Mozhet Byt Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/deprecations.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 5f3c1a437b3..c4119d8649a 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -861,9 +861,9 @@ and `crypto.getFips()` instead. Type: Runtime -Using `assert.fail()` with more than one argument has no benefit over writing an -individual error message. Either use `assert.fail()` with one argument or switch -to one of the other assert methods. +Using `assert.fail()` with more than one argument is deprecated. Use +`assert.fail()` with only one argument or use a different `assert` module +method. ### DEP0095: timers.enroll()