diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-07 08:37:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-07 08:37:35 +1000 |
commit | 5bac4075c38c34ba53ce86e8ce6912d3be38c4bb (patch) | |
tree | e01bc5bd1d19f21b388244c4821718b3c9d34933 /tests/unit | |
parent | 292344af42cbeaf6698c7f2cedf2e7e1ce861544 (diff) |
chore: soft-remove `Deno.{stdin,stderr,stdout}.rid` (#25479)
Towards #22079
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/files_test.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/files_test.ts b/tests/unit/files_test.ts index 7b939d1ec..b39b5f417 100644 --- a/tests/unit/files_test.ts +++ b/tests/unit/files_test.ts @@ -12,8 +12,11 @@ import { copy } from "@std/io/copy"; // Note tests for Deno.FsFile.setRaw is in integration tests. Deno.test(function filesStdioFileDescriptors() { + // @ts-ignore `Deno.stdin.rid` was soft-removed in Deno 2. assertEquals(Deno.stdin.rid, 0); + // @ts-ignore `Deno.stdout.rid` was soft-removed in Deno 2. assertEquals(Deno.stdout.rid, 1); + // @ts-ignore `Deno.stderr.rid` was soft-removed in Deno 2. assertEquals(Deno.stderr.rid, 2); }); |