Skip to content

Commit b7bd4ae

Browse files
committed
test: remove fallback for missing manpage env vars
1 parent 1c46679 commit b7bd4ae

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

doc/node.1

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,8 @@ Alias for NODE_DISABLE_COLORS
695695
.
696696
.It Ev NODE_COMPILE_CACHE Ar dir
697697
Enable the
698-
.Sy module compile cache
699-
for the Node.js instance
698+
.Sy module compile cache
699+
for the Node.js instance.
700700
.
701701
.It Ev NODE_DEBUG Ar modules...
702702
Comma-separated list of core modules that should print debug information.
@@ -706,8 +706,8 @@ Comma-separated list of C++ core modules that should print debug information.
706706
.
707707
.It Ev NODE_DISABLE_COMPILE_CACHE Ar dir
708708
Disable the
709-
.Sy module compile cache
710-
for the Node.js instance
709+
.Sy module compile cache
710+
for the Node.js instance.
711711
.
712712
.It Ev NODE_DISABLE_COLORS
713713
When set to
@@ -802,8 +802,8 @@ Any issues encountered on unsupported platforms will not be fixed.
802802
.
803803
.It Ev NODE_TEST_CONTEXT
804804
When set to
805-
.Sq child,
806-
test reporter options will be overridden and test output will be sent to stdout in the TAP format.
805+
.Sq child
806+
, test reporter options will be overridden and test output will be sent to stdout in the TAP format.
807807
If any other value is provided, Node.js makes no guarantees about the reporter format used or its stability.
808808
.
809809
.It Ev NODE_TLS_REJECT_UNAUTHORIZED
@@ -813,7 +813,8 @@ TLS certificate validation is disabled.
813813
.
814814
.It Ev NODE_USE_ENV_PROXY
815815
When enabled, Node.js parses the
816-
.Ar HTTP_PROXY,
816+
.Ar HTTP_PROXY
817+
,
817818
.Ar HTTPS_PROXY
818819
and
819820
.Ar NO_PROXY

test/parallel/test-cli-node-cli-manpage-env-vars.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ assert(manpageEnvVarNames.size > 0,
2222
);
2323

2424
for (const envVarName of cliMdEnvVarNames) {
25-
if (!manpageEnvVarNames.has(envVarName) && !knownEnvVariablesMissingFromManPage.has(envVarName)) {
25+
if (!manpageEnvVarNames.has(envVarName)) {
2626
assert.fail(`The "${envVarName}" environment variable (present in \`doc/api/cli.md\`) is missing from the \`doc/node.1\` file`);
2727
}
2828
manpageEnvVarNames.delete(envVarName);

0 commit comments

Comments
 (0)