test: modernize test-fs-truncate-fd
- changed `var` to `const` where variables were not reassigned. - changed `assert.equal` to `assert.strictEqual` because there was no downside to being more rigorous. PR-URL: https://github.com/nodejs/node/pull/9978 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
c142e27f
Please register or sign in to comment