From c3fde98d4d2d920ce3df10a7668aa36bcfb49206 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Fri, 12 Jan 2018 02:07:18 +0200 Subject: doc: capitalize non-primitive types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/18111 Reviewed-By: Сковорода Никита Андреевич Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- doc/api/assert.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/api/assert.md') diff --git a/doc/api/assert.md b/doc/api/assert.md index 75477516bf..1f49f9ca36 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -375,7 +375,7 @@ added: v0.1.21 * `expected` {any} * `message` {any} **Default:** `'Failed'` * `operator` {string} **Default:** '!=' -* `stackStartFunction` {function} **Default:** `assert.fail` +* `stackStartFunction` {Function} **Default:** `assert.fail` Throws an `AssertionError`. If `message` is falsy, the error message is set as the values of `actual` and `expected` separated by the provided `operator`. If @@ -719,7 +719,7 @@ changes: description: The `error` parameter can now be an arrow function. --> * `block` {Function} -* `error` {RegExp|Function|object} +* `error` {RegExp|Function|Object} * `message` {any} Expects the function `block` to throw an error. -- cgit v1.2.3