Skip to content
Permalink
Browse files

test: use spread instead of Object.assign

PR-URL: #30419
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
dnlup authored and MylesBorins committed Nov 12, 2019
1 parent 96c0615 commit d708887c0bc42d2a244a35422ae6f2cfd809eba8
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/benchmark/test-benchmark-dns.js
@@ -4,7 +4,6 @@ require('../common');

const runBenchmark = require('../common/benchmark');

const env = Object.assign({}, process.env,
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
const env = { ...process.env, NODEJS_BENCHMARK_ZERO_ALLOWED: 1 };

runBenchmark('dns', ['n=1', 'all=false', 'name=127.0.0.1'], env);

0 comments on commit d708887

Please sign in to comment.
You can’t perform that action at this time.