summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/files_test.ts3
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);
});