diff options
author | Rich Trott <rtrott@gmail.com> | 2018-03-16 22:12:37 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-03-20 11:02:01 -0700 |
commit | 1203b1372592a5067888987080f30b6b9047d150 (patch) | |
tree | 10a8b78bf608ef315236295fd7300145ff876159 /src/node_api.h | |
parent | 6a958d2bf83d45833b09faca1139b293ad289396 (diff) | |
download | android-node-v8-1203b1372592a5067888987080f30b6b9047d150.tar.gz android-node-v8-1203b1372592a5067888987080f30b6b9047d150.tar.bz2 android-node-v8-1203b1372592a5067888987080f30b6b9047d150.zip |
test: refactor test-fs-readfile-tostring-fail
The test uses both `assert()` and `assert.ok()`. Use just `assert.ok()`.
Remove a comment that does not appear to match the code and does not
seem to explain much beyond the bare code itself.
PR-URL: https://github.com/nodejs/node/pull/19404
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_api.h')
0 files changed, 0 insertions, 0 deletions