From 5bac4075c38c34ba53ce86e8ce6912d3be38c4bb Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Sat, 7 Sep 2024 08:37:35 +1000 Subject: chore: soft-remove `Deno.{stdin,stderr,stdout}.rid` (#25479) Towards #22079 --- tests/unit/files_test.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/unit/files_test.ts') 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); }); -- cgit v1.2.3