summaryrefslogtreecommitdiff
path: root/tests/unit_node/tty_test.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-11 07:19:34 +1000
committerGitHub <noreply@github.com>2024-09-11 07:19:34 +1000
commita69b1e699ef76568a4a3da47939134abda545ec7 (patch)
tree951091db6743b2cd0a4e726f2d784386882a3dc3 /tests/unit_node/tty_test.ts
parentf9007d3386bbe9f709ce413ac0cf099b86d4c4bf (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.ts3
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", () => {