Skip to content

Commit dc826ca

Browse files
fhinkelitaloacasas
authored andcommitted
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: #10917 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 537d954 commit dc826ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-preload.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ childProcess.exec(
139139
// https://github.com/nodejs/node/issues/1691
140140
process.chdir(common.fixturesDir);
141141
childProcess.exec(
142-
nodeBinary + ' ' + '--expose_debug_as=v8debug ' + '--require ' +
142+
nodeBinary + ' ' + '--expose_natives_as=v8natives ' + '--require ' +
143143
fixture('cluster-preload.js') + ' ' + 'cluster-preload-test.js',
144144
function(err, stdout, stderr) {
145145
assert.ifError(err);

0 commit comments

Comments
 (0)