diff options
author | Rich Trott <rtrott@gmail.com> | 2019-01-31 21:05:17 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-02-03 01:48:32 -0800 |
commit | 34189563496a7d418382ac402241d4970b32b78b (patch) | |
tree | d1e77bb61a20535c26ec87fb52e6605de9cff1bf /benchmark/assert/deepequal-typedarrays.js | |
parent | 4deb23a2f66e576be96c3bb856e5199cb3439865 (diff) | |
download | android-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-typedarrays.js')
-rw-r--r-- | benchmark/assert/deepequal-typedarrays.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/assert/deepequal-typedarrays.js b/benchmark/assert/deepequal-typedarrays.js index 9f9c68a673..9acf83711e 100644 --- a/benchmark/assert/deepequal-typedarrays.js +++ b/benchmark/assert/deepequal-typedarrays.js @@ -16,7 +16,7 @@ const bench = common.createBenchmark(main, { 'deepEqual', 'notDeepEqual', ], - len: [1e2, 5e3] + len: [1e2, 5e3], }); function main({ type, n, len, method, strict }) { |