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: nodejs#10917
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
fhinkel authored and italoacasas committed Jan 30, 2017
1 parent f792f34 commit 25e4584
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 25e4584

Please sign in to comment.