mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
test: update V8 flag in test
--expose-debug-as is deprecated in V8, switch test-preload.js to a flag that still exists. PR-URL: https://github.com/nodejs/node/pull/10917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
3e7a414853
commit
4f8582e533
1 file changed
+1
-1
@@ -139,7 +139,7 @@ childProcess.exec(
|
||||
// https://github.com/nodejs/node/issues/1691
|
||||
process.chdir(common.fixturesDir);
|
||||
childProcess.exec(
|
||||
nodeBinary + ' ' + '--expose_debug_as=v8debug ' + '--require ' +
|
||||
nodeBinary + ' ' + '--expose_natives_as=v8natives ' + '--require ' +
|
||||
fixture('cluster-preload.js') + ' ' + 'cluster-preload-test.js',
|
||||
function(err, stdout, stderr) {
|
||||
assert.ifError(err);
|
||||
|
||||
Reference in new issue
Block a user