From 168abb580163f32c802d0550d2e6dbaafa72efe3 Mon Sep 17 00:00:00 2001 From: "Eugene Y. Q. Shen" Date: Wed, 1 Aug 2018 16:05:22 -0700 Subject: [PATCH] doc: rename stackStartFunction in assert.md [assert.js](https://github.com/nodejs/node/blob/master/lib/assert.js) uses `stackStartFn` everywhere instead of `stackStartFunction`. This also increases consistency with `stackStartFn` in the `AssertionError` options. PR-URL: https://github.com/nodejs/node/pull/22077 Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca --- doc/api/assert.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index 57fcc14de2ba90..baa7c2f8aa054a 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -587,7 +587,7 @@ assert.fail(new TypeError('need array')); Using `assert.fail()` with more than two arguments is possible but deprecated. See below for further details. -## assert.fail(actual, expected[, message[, operator[, stackStartFunction]]]) +## assert.fail(actual, expected[, message[, operator[, stackStartFn]]])