summaryrefslogtreecommitdiff
path: root/cli/tests/unit_node/_fs/_fs_handle_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit_node/_fs/_fs_handle_test.ts')
-rw-r--r--cli/tests/unit_node/_fs/_fs_handle_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit_node/_fs/_fs_handle_test.ts b/cli/tests/unit_node/_fs/_fs_handle_test.ts
index c1e5ef871..165608e1c 100644
--- a/cli/tests/unit_node/_fs/_fs_handle_test.ts
+++ b/cli/tests/unit_node/_fs/_fs_handle_test.ts
@@ -16,5 +16,5 @@ Deno.test("readFileSuccess", async function () {
assert(data instanceof Uint8Array);
assertEquals(new TextDecoder().decode(data as Uint8Array), "hello world");
- Deno.close(fileHandle.fd);
+ await fileHandle.close();
});