Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: use spread instead of Object.assign
  • Loading branch information
dnlup committed Nov 12, 2019
commit db175d5c2be398821560d9bfc44e763779ffb6ca
3 changes: 1 addition & 2 deletions test/benchmark/test-benchmark-dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);