diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-29 18:45:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 18:45:47 +0100 |
commit | f55b22e195ff0dfaf117aaef2a0fcc51fe0058c8 (patch) | |
tree | c314180b02b1ebf6b3f75ccbb4decade3b4fb511 /cli/js/tty_test.ts | |
parent | 199fb195f334b582e4ee3fccaa9a33aa2a06ca48 (diff) |
add assertResources sanitizer to cli/js/ unit tests (#4161)
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 { |