Skip to content

Commit

Permalink
fix: fix Deno.remove call
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Apr 30, 2021
1 parent d5b960b commit caba10e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/internal_binding/fs_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Deno.test("[node/internal_binding/fs] writeBufferSync", async () => {
assertEquals(typeof ctx.errno, "undefined");
} finally {
Deno.close(file.rid);
Deno.remove(tempfile);
await Deno.remove(tempfile);
}
});
Deno.test("[node/internal_binding/fs] writeBufferSync", async () => {
Expand All @@ -51,6 +51,6 @@ Deno.test("[node/internal_binding/fs] writeBufferSync", async () => {
}
} finally {
Deno.close(file.rid);
Deno.remove(tempfile);
await Deno.remove(tempfile);
}
});

0 comments on commit caba10e

Please sign in to comment.