diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-11 07:19:34 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 07:19:34 +1000 |
commit | a69b1e699ef76568a4a3da47939134abda545ec7 (patch) | |
tree | 951091db6743b2cd0a4e726f2d784386882a3dc3 /tests/unit_node/tty_test.ts | |
parent | f9007d3386bbe9f709ce413ac0cf099b86d4c4bf (diff) |
BREAKING(fs): remove `Deno.FsFile.prototype.rid` (#25499)
Towards #22079
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'tests/unit_node/tty_test.ts')
-rw-r--r-- | tests/unit_node/tty_test.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit_node/tty_test.ts b/tests/unit_node/tty_test.ts index 76d7ddc55..df2888ddd 100644 --- a/tests/unit_node/tty_test.ts +++ b/tests/unit_node/tty_test.ts @@ -10,9 +10,6 @@ Deno.test("[node/tty isatty] returns true when fd is a tty, false otherwise", () assert(Deno.stdin.isTerminal() === isatty((Deno as any).stdin.rid)); assert(Deno.stdout.isTerminal() === isatty((Deno as any).stdout.rid)); assert(Deno.stderr.isTerminal() === isatty((Deno as any).stderr.rid)); - - using file = Deno.openSync("README.md"); - assert(!isatty(file.rid)); }); Deno.test("[node/tty isatty] returns false for irrelevant values", () => { |