summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-promises-readfile-with-fd.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-promises-readfile-with-fd.js')
-rw-r--r--test/parallel/test-fs-promises-readfile-with-fd.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parallel/test-fs-promises-readfile-with-fd.js b/test/parallel/test-fs-promises-readfile-with-fd.js
index 9bf4c18536..85e4c3fae2 100644
--- a/test/parallel/test-fs-promises-readfile-with-fd.js
+++ b/test/parallel/test-fs-promises-readfile-with-fd.js
@@ -28,6 +28,8 @@ async function readFileTest() {
/* readFile() should read from position five, instead of zero. */
assert.deepStrictEqual((await handle.readFile()).toString(), ' World');
+
+ await handle.close();
}