summaryrefslogtreecommitdiff
path: root/test/parallel/test-cli-bad-options.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-cli-bad-options.js')
-rw-r--r--test/parallel/test-cli-bad-options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-cli-bad-options.js b/test/parallel/test-cli-bad-options.js
index 7abd330aa4..3fc8980c14 100644
--- a/test/parallel/test-cli-bad-options.js
+++ b/test/parallel/test-cli-bad-options.js
@@ -6,7 +6,7 @@ require('../common');
const assert = require('assert');
const spawn = require('child_process').spawnSync;
-if (process.config.variables.v8_enable_inspector === 1) {
+if (process.features.inspector) {
requiresArgument('--inspect-port');
requiresArgument('--inspect-port=');
requiresArgument('--debug-port');