diff --git a/test/parallel/test-cli-bad-options.js b/test/parallel/test-cli-bad-options.js index 8283ab078fe7f6..15a385b99f66d9 100644 --- a/test/parallel/test-cli-bad-options.js +++ b/test/parallel/test-cli-bad-options.js @@ -18,6 +18,8 @@ function requiresArgument(option) { assert.strictEqual(r.status, 9); const msg = r.stderr.split(/\r?\n/)[0]; - assert.strictEqual(msg, process.execPath + ': ' + option + - ' requires an argument'); + assert.strictEqual( + msg, + `${process.execPath}: ${option} requires an argument` + ); }