diff options
author | garygsc <garygsc@gmail.com> | 2019-10-25 17:04:26 -0600 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-05 23:21:02 +0100 |
commit | 074730081db3269fc3559598c0698a9f6b7b20c2 (patch) | |
tree | bbc89b648da5a790e7f3478bd3518757687802fb /GOVERNANCE.md | |
parent | f04810531afba30c77163fe18f4d16c540d94eb9 (diff) | |
download | android-node-v8-074730081db3269fc3559598c0698a9f6b7b20c2.tar.gz android-node-v8-074730081db3269fc3559598c0698a9f6b7b20c2.tar.bz2 android-node-v8-074730081db3269fc3559598c0698a9f6b7b20c2.zip |
doc: update examples in writing-tests.md
`writing-tests.md` states to use arrow functions when appropriate.
This updates the examples to do that.
Further, this syncs the docs with what's found in
[`test/parallel/test-http-agent-null.js`](https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js)
PR-URL: https://github.com/nodejs/node/pull/30126
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'GOVERNANCE.md')
0 files changed, 0 insertions, 0 deletions