fs: make ReadStream throw error on NaN
This test makes fs.ReadStream throw an error when either start or end is NaN.
Fixes: https://github.com/nodejs/node/issues/19715
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
/cc @lpinca