From dc826caed24f1d7faf0d93651ac0b3473c585212 Mon Sep 17 00:00:00 2001 From: Franziska Hinkelmann Date: Tue, 20 Dec 2016 13:50:45 +0100 Subject: [PATCH] test: update V8 flag in test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --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 Reviewed-By: Michaƫl Zasso --- test/parallel/test-preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-preload.js b/test/parallel/test-preload.js index 444c3a0a6d5e2b..8dc64cc6c60168 100644 --- a/test/parallel/test-preload.js +++ b/test/parallel/test-preload.js @@ -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);