From aadd8cac4bc4cc409cfa1fddfd70b8a93bba6c3c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 8 Feb 2020 15:19:13 -1000 Subject: [PATCH] doc: improve strict assertion mode color text Minor improvements to the text about colors in strict assertion mode: * Consolidate the two paragraphs into one * Pluralize "variables" * Remove unnecessary article "the" * Change "doc" to "documentation" PR-URL: https://github.com/nodejs/node/pull/31703 Reviewed-By: Ruben Bridgewater Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- doc/api/assert.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index 92a62049c9db44..c9f546e9fc50ab 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -57,12 +57,10 @@ assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]); // ] ``` -To deactivate the colors, use the `NO_COLOR` or -`NODE_DISABLE_COLORS` environment variable. -This will also deactivate the colors in the REPL. - -For more on the color support in terminal environments, read -the tty [getColorDepth()](tty.html#tty_writestream_getcolordepth_env) doc. +To deactivate the colors, use the `NO_COLOR` or `NODE_DISABLE_COLORS` +environment variables. This will also deactivate the colors in the REPL. For +more on color support in terminal environments, read the tty +[getColorDepth()](tty.html#tty_writestream_getcolordepth_env) documentation. ## Legacy assertion mode