summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorgarygsc <garygsc@gmail.com>2019-10-26 02:54:18 -0600
committerAnna Henningsen <anna@addaleax.net>2019-11-30 18:08:59 +0100
commit79faa875026a275b3e5eca019b3c50e1cbe2e34e (patch)
tree0fb5327abc56edd199553a66ab3e6f8e0952f2bc /tools
parentc8930fb9bf647b88bba9b6e7be4f4ea119fb3d57 (diff)
downloadandroid-node-v8-79faa875026a275b3e5eca019b3c50e1cbe2e34e.tar.gz
android-node-v8-79faa875026a275b3e5eca019b3c50e1cbe2e34e.tar.bz2
android-node-v8-79faa875026a275b3e5eca019b3c50e1cbe2e34e.zip
test: use arrow functions in addons tests
Convert all anonymous callback functions in `test/addons/**/*.js` to use arrow functions, except for those in `test/addons/make-callback/test.js` (which reference `this`) `writing-tests.md` states to use arrow functions when appropriate. PR-URL: https://github.com/nodejs/node/pull/30131 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions