test: refactor test-fs-append-file
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
- Replaced
var
with eitherconst
orlet
. - Replaced
assert.equal()
withassert.strictEqual()
. - Replaced all error checks with
assert.ifError(e)
.