Skip to content

Commit

Permalink
test: update V8 flag in test
Browse files Browse the repository at this point in the history
--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]>
  • Loading branch information
fhinkel authored and targos committed Jan 28, 2017
1 parent 6c22e6b commit 4113db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4113db6

Please sign in to comment.