We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9257e7e commit f9b292cCopy full SHA for f9b292c
test/parallel/test-cli-bad-options.js
@@ -18,6 +18,8 @@ function requiresArgument(option) {
18
assert.strictEqual(r.status, 9);
19
20
const msg = r.stderr.split(/\r?\n/)[0];
21
- assert.strictEqual(msg, process.execPath + ': ' + option +
22
- ' requires an argument');
+ assert.strictEqual(
+ msg,
23
+ `${process.execPath}: ${option} requires an argument`
24
+ );
25
}
0 commit comments