Skip to content

Commit

Permalink
squash: hopeful fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Mar 17, 2017
1 parent bf8a998 commit c2a2dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-cli-eval.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ child.exec(`${nodejs} --use-strict -p process.execArgv`,
// Make sure that monkey-patching process.execArgv doesn't cause child_process
// to incorrectly munge execArgv.
child.exec(
`${nodejs} -e 'process.execArgv = ["-e", "console.log(42)", "thirdArg"];
require("child_process").fork("${emptyFile}")'`,
`${nodejs} -e "process.execArgv = ['-e', 'console.log(42)', 'thirdArg'];
require('child_process').fork('${emptyFile}')"`,
common.mustCall((err, stdout, stderr) => {
assert.ifError(err);
assert.strictEqual(stdout, '42\n');
Expand Down

0 comments on commit c2a2dc2

Please sign in to comment.