summaryrefslogtreecommitdiff
path: root/benchmark/assert/deepequal-set.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-01-31 21:05:17 -0800
committerRich Trott <rtrott@gmail.com>2019-02-03 01:48:32 -0800
commit34189563496a7d418382ac402241d4970b32b78b (patch)
treed1e77bb61a20535c26ec87fb52e6605de9cff1bf /benchmark/assert/deepequal-set.js
parent4deb23a2f66e576be96c3bb856e5199cb3439865 (diff)
downloadandroid-node-v8-34189563496a7d418382ac402241d4970b32b78b.tar.gz
android-node-v8-34189563496a7d418382ac402241d4970b32b78b.tar.bz2
android-node-v8-34189563496a7d418382ac402241d4970b32b78b.zip
benchmark: use consistent coding style in assert/*
Files in benchmark/assert/* were sometimes using trailing commas for multi-line objects and sometimes not, mixing the approaches in the same file sometimes. Standardize these files to always use trailing commas in multi-line objects. Additionally, remove some unnecessary line-wrapping (so that there are fewer multi-line objects). PR-URL: https://github.com/nodejs/node/pull/25865 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'benchmark/assert/deepequal-set.js')
-rw-r--r--benchmark/assert/deepequal-set.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/assert/deepequal-set.js b/benchmark/assert/deepequal-set.js
index 1f4061afb2..b4406b2600 100644
--- a/benchmark/assert/deepequal-set.js
+++ b/benchmark/assert/deepequal-set.js
@@ -14,8 +14,8 @@ const bench = common.createBenchmark(main, {
'deepEqual_mixed',
'notDeepEqual_primitiveOnly',
'notDeepEqual_objectOnly',
- 'notDeepEqual_mixed'
- ]
+ 'notDeepEqual_mixed',
+ ],
});
function benchmark(method, n, values, values2) {