summaryrefslogtreecommitdiff
path: root/tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js')
-rw-r--r--tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js b/tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js
index 85f3ec2bf..e2f5452b3 100644
--- a/tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js
+++ b/tests/node_compat/test/parallel/test-child-process-exec-std-encoding.js
@@ -7,7 +7,7 @@
// TODO(PolarETech): The process.argv[3] check should be argv[2], and the
// command passed to exec() should not need to include "run", "-A",
-// and "require.ts".
+// and "runner.ts".
'use strict';
const common = require('../common');
@@ -23,7 +23,7 @@ if (process.argv[3] === 'child') {
console.log(stdoutData);
console.error(stderrData);
} else {
- const cmd = `"${process.execPath}" run -A require.ts "${__filename}" child`;
+ const cmd = `"${process.execPath}" run -A runner.ts "${__filename}" child`;
const child = cp.exec(cmd, common.mustSucceed((stdout, stderr) => {
assert.strictEqual(stdout, expectedStdout);
assert.strictEqual(stderr, expectedStderr);