summaryrefslogtreecommitdiff
path: root/tests/unit/tty_test.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-12 11:30:12 +1000
committerGitHub <noreply@github.com>2024-09-12 11:30:12 +1000
commit3285801429eb7a40e022b571b7e3007c3e60250c (patch)
tree2ddd6c9757a9753b4cd0c21cd93f68937b79b1ab /tests/unit/tty_test.ts
parent57556ade8c128aeea7340d463b35c86afe1fb4f7 (diff)
test: remove `DENO_FUTURE` (#25587)
Diffstat (limited to 'tests/unit/tty_test.ts')
-rw-r--r--tests/unit/tty_test.ts13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/unit/tty_test.ts b/tests/unit/tty_test.ts
index 4183fe530..1d29a0b70 100644
--- a/tests/unit/tty_test.ts
+++ b/tests/unit/tty_test.ts
@@ -2,7 +2,7 @@
// deno-lint-ignore-file no-deprecated-deno-api
-import { assert, DENO_FUTURE } from "./test_util.ts";
+import { assert } from "./test_util.ts";
// Note tests for Deno.stdin.setRaw is in integration tests.
@@ -15,17 +15,6 @@ Deno.test(function consoleSize() {
assert(typeof result.rows !== "undefined");
});
-Deno.test(
- { ignore: DENO_FUTURE, permissions: { read: true } },
- function isatty() {
- // CI not under TTY, so cannot test stdin/stdout/stderr.
- const f = Deno.openSync("tests/testdata/assets/hello.txt");
- // @ts-ignore `Deno.isatty()` was soft-removed in Deno 2.
- assert(!Deno.isatty(f.rid));
- f.close();
- },
-);
-
Deno.test(function isattyError() {
let caught = false;
try {