diff options
author | Gibson Fahnestock <gibfahn@gmail.com> | 2017-08-15 19:14:54 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2017-09-03 17:28:50 -0300 |
commit | 180f86507d496b11aa35b2df4594629a92cce329 (patch) | |
tree | 96993491524bbba0fb642f9c3c47f89b2fedf3b0 /test/parallel/test-pending-deprecation.js | |
parent | ed084a035c1f657284f3eee7f7a583a42e8b35f1 (diff) | |
download | node-new-180f86507d496b11aa35b2df4594629a92cce329.tar.gz |
test: remove envPlus, use Object.assign everywhere
PR-URL: https://github.com/nodejs/node/pull/14845
Fixes: https://github.com/nodejs/node/issues/14823
Refs: https://github.com/nodejs/node/pull/14822
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-pending-deprecation.js')
-rw-r--r-- | test/parallel/test-pending-deprecation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-pending-deprecation.js b/test/parallel/test-pending-deprecation.js index fedc7c96b8..9b1fd5addf 100644 --- a/test/parallel/test-pending-deprecation.js +++ b/test/parallel/test-pending-deprecation.js @@ -37,7 +37,7 @@ switch (process.argv[2]) { // Test the NODE_PENDING_DEPRECATION environment var. fork(__filename, ['env'], { - env: { NODE_PENDING_DEPRECATION: 1 }, + env: Object.assign({}, process.env, { NODE_PENDING_DEPRECATION: 1 }), silent: true }).on('exit', common.mustCall((code) => { assert.strictEqual(code, 0, message('NODE_PENDING_DEPRECATION')); |