test: add check to test-fs-readfile-tostring-fail · nodejs/node@bb6787c · GitHub
Skip to content

Commit bb6787c

Browse files
richardlaudanielleadams
authored andcommitted
test: add check to test-fs-readfile-tostring-fail
Check that all of the bytes were written to the temporary file before reading it to catch the case where there is insufficient disk space. PR-URL: #43850 Refs: #43833 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent bb5511e commit bb6787c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/pummel/test-fs-readfile-tostring-fail.js

Lines changed: 5 additions & 1 deletion

0 commit comments

Comments
 (0)