diff options
-rw-r--r-- | test/parallel/test-fs-chmod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-chmod.js b/test/parallel/test-fs-chmod.js index e26ab16f90..de48b096c6 100644 --- a/test/parallel/test-fs-chmod.js +++ b/test/parallel/test-fs-chmod.js @@ -114,7 +114,7 @@ fs.open(file2, 'a', common.mustCall((err, fd) => { assert.strictEqual(mode_sync, fs.fstatSync(fd).mode & 0o777); } - fs.close(fd); + fs.close(fd, assert.ifError); })); })); |