diff options
author | Adrian Estrada <edsadr@gmail.com> | 2017-01-02 22:10:40 -0500 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-04-18 20:01:51 -0400 |
commit | f0645200aa6131817f51975236da9f946b2859e9 (patch) | |
tree | f9d63d64ca7830f49198e500126fc022a4f85f26 /test/parallel/test-http-client-read-in-error.js | |
parent | 4fd765eec8e6153b9a20c7a6756986d2d9c12784 (diff) | |
download | node-new-f0645200aa6131817f51975236da9f946b2859e9.tar.gz |
test: improve test-fs-access
* use const and let instead of var
* use common.mustCall to control functions execution
* use assert.ifError instead of assert.strictEqual for errors
* use arrow functions
PR-URL: https://github.com/nodejs/node/pull/10542
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-http-client-read-in-error.js')
0 files changed, 0 insertions, 0 deletions