diff options
author | Rich Trott <rtrott@gmail.com> | 2022-10-18 05:13:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 12:13:41 +0000 |
commit | 6059cbedbd4d616448e855d99c373810975943d8 (patch) | |
tree | b4942970d8f77a78c2006dbc155012b71739ef2d /test/parallel/test-async-hooks-enable-disable.js | |
parent | 1a8f8ba6c6cab17301e3b8139f0fe09b52023ec3 (diff) | |
download | node-new-6059cbedbd4d616448e855d99c373810975943d8.tar.gz |
test: remove unnecessary noop function args to mustCall()
PR-URL: https://github.com/nodejs/node/pull/45027
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'test/parallel/test-async-hooks-enable-disable.js')
-rw-r--r-- | test/parallel/test-async-hooks-enable-disable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-async-hooks-enable-disable.js b/test/parallel/test-async-hooks-enable-disable.js index b685c71234..71d35c9137 100644 --- a/test/parallel/test-async-hooks-enable-disable.js +++ b/test/parallel/test-async-hooks-enable-disable.js @@ -4,7 +4,7 @@ const assert = require('assert'); const async_hooks = require('async_hooks'); const hook = async_hooks.createHook({ - init: common.mustCall(() => {}, 1), + init: common.mustCall(1), before: common.mustNotCall(), after: common.mustNotCall(), destroy: common.mustNotCall() |