test: read error now throws 'read' instead of 'written'
Yesterday when I saw this I was smitten,
fs empty read error shouldn't say
buffer is empty and cannot be written
.
So in this context,
some other words could be said,
like buffer is empty and cannot be read
.
Fixes: https://github.com/nodejs/node/issues/36114
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines