summaryrefslogtreecommitdiff
path: root/lib/_stream_writable.js
diff options
context:
space:
mode:
authorgarygsc <garygsc@gmail.com>2019-10-25 17:04:26 -0600
committerAnna Henningsen <anna@addaleax.net>2019-11-05 23:21:02 +0100
commit074730081db3269fc3559598c0698a9f6b7b20c2 (patch)
treebbc89b648da5a790e7f3478bd3518757687802fb /lib/_stream_writable.js
parentf04810531afba30c77163fe18f4d16c540d94eb9 (diff)
downloadandroid-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 'lib/_stream_writable.js')
0 files changed, 0 insertions, 0 deletions