test: add a missing (flag param) scenario in test-fs-write-file-sync
(came across this while working on some thing). fs.writeFileSync
takes flag param to define the file opening semantics. Add a scenario that covers flags as well.
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