Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix NODE_OPTIONS feature check
The configuration variable being tested is `true` if Node.js was
compiled without support for NODE_OPTIONS.
  • Loading branch information
richardlau committed Jun 14, 2019
commit 8521128ca03b1332b120d818d5a021f0c813b593
2 changes: 1 addition & 1 deletion test/sequential/test-set-http-max-http-headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ parsers.forEach((parser) => {
});

// Next, repeat the same checks using NODE_OPTIONS if it is supported.
if (process.config.variables.node_without_node_options) {
if (!process.config.variables.node_without_node_options) {
const env = Object.assign({}, process.env, {
NODE_OPTIONS: `--http-parser=${parser} --max-http-header-size=1024`
});
Expand Down