summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-promises-file-handle-sync.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-promises-file-handle-sync.js')
-rw-r--r--test/parallel/test-fs-promises-file-handle-sync.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-fs-promises-file-handle-sync.js b/test/parallel/test-fs-promises-file-handle-sync.js
index fc6d00c0b8..2c0eca13a7 100644
--- a/test/parallel/test-fs-promises-file-handle-sync.js
+++ b/test/parallel/test-fs-promises-file-handle-sync.js
@@ -20,6 +20,7 @@ async function validateSync() {
const ret = await handle.read(Buffer.alloc(11), 0, 11, 0);
assert.strictEqual(ret.bytesRead, 11);
assert.deepStrictEqual(ret.buffer, buf);
+ await handle.close();
}
validateSync();