From fe7bdc06821f9f426b39008fa8b60577dd33f185 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sat, 25 Jan 2020 10:43:24 +0100 Subject: [PATCH] fixup: add another test --- test/pseudo-tty/test-tty-color-support-warning-2.js | 8 ++++++++ test/pseudo-tty/test-tty-color-support-warning-2.out | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 test/pseudo-tty/test-tty-color-support-warning-2.js create mode 100644 test/pseudo-tty/test-tty-color-support-warning-2.out diff --git a/test/pseudo-tty/test-tty-color-support-warning-2.js b/test/pseudo-tty/test-tty-color-support-warning-2.js new file mode 100644 index 00000000000000..34ba49c0dfd1b5 --- /dev/null +++ b/test/pseudo-tty/test-tty-color-support-warning-2.js @@ -0,0 +1,8 @@ +'use strict'; + +require('../common'); + +process.env.NODE_DISABLE_COLORS = '1'; +process.env.FORCE_COLOR = '3'; + +console.log(); diff --git a/test/pseudo-tty/test-tty-color-support-warning-2.out b/test/pseudo-tty/test-tty-color-support-warning-2.out new file mode 100644 index 00000000000000..cd57b3f9f69672 --- /dev/null +++ b/test/pseudo-tty/test-tty-color-support-warning-2.out @@ -0,0 +1,2 @@ + +(node:*) Warning: The 'NODE_DISABLE_COLORS' env is ignored due to the 'FORCE_COLOR' env being set.