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 <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
fhinkel authored and italoacasas committed Jan 30, 2017
1 parent 537d954 commit dc826ca
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 dc826ca

Please sign in to comment.