test: add missing tmpdir.refresh() in recently-added test
Without tmpdir.refresh()
, the test fails in some situations. This was
missed because using test.py
will almost always result in a leftover
tmpdir lying around that makes the refresh()
not needed.
Refs: https://github.com/nodejs/node/pull/24913#issuecomment-447982921
Collaborators,
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines