test: refactor test-fs-watchfile
- use
common.mustNotCall()
to confirm callback is not called - reorder modules to conform with test-writing guide
- match full error message in
assert.throws()
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test fs