diff options
Diffstat (limited to 'cli/js/tty_test.ts')
-rw-r--r-- | cli/js/tty_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/js/tty_test.ts b/cli/js/tty_test.ts index f58784a7c..034617884 100644 --- a/cli/js/tty_test.ts +++ b/cli/js/tty_test.ts @@ -7,6 +7,7 @@ testPerm({ read: true }, function isatty(): void { // CI not under TTY, so cannot test stdin/stdout/stderr. const f = Deno.openSync("cli/tests/hello.txt"); assert(!Deno.isatty(f.rid)); + f.close(); }); test(function isattyError(): void { |