diff options
Diffstat (limited to 'benchmark/buffers/buffer-base64-decode.js')
-rw-r--r-- | benchmark/buffers/buffer-base64-decode.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/buffers/buffer-base64-decode.js b/benchmark/buffers/buffer-base64-decode.js index 3d00e69b90..6a9002df38 100644 --- a/benchmark/buffers/buffer-base64-decode.js +++ b/benchmark/buffers/buffer-base64-decode.js @@ -9,6 +9,7 @@ const bench = common.createBenchmark(main, { function main(conf) { const n = +conf.n; const s = 'abcd'.repeat(8 << 20); + // eslint-disable-next-line no-unescaped-regexp-dot s.match(/./); // Flatten string. assert.strictEqual(s.length % 4, 0); const b = Buffer.allocUnsafe(s.length / 4 * 3); |