summaryrefslogtreecommitdiff
path: root/benchmark/assert/throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/assert/throws.js')
-rw-r--r--benchmark/assert/throws.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/benchmark/assert/throws.js b/benchmark/assert/throws.js
index 1788630cb2..3a6326371d 100644
--- a/benchmark/assert/throws.js
+++ b/benchmark/assert/throws.js
@@ -5,11 +5,7 @@ const { throws, doesNotThrow } = require('assert');
const bench = common.createBenchmark(main, {
n: [1e4],
- method: [
- 'doesNotThrow',
- 'throws_TypeError',
- 'throws_RegExp'
- ]
+ method: [ 'doesNotThrow', 'throws_TypeError', 'throws_RegExp' ],
});
function main({ n, method }) {