summaryrefslogtreecommitdiff
path: root/cli/js/tests/stat_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/tests/stat_test.ts')
-rw-r--r--cli/js/tests/stat_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/tests/stat_test.ts b/cli/js/tests/stat_test.ts
index 70ec5dc2e..7eaf73d58 100644
--- a/cli/js/tests/stat_test.ts
+++ b/cli/js/tests/stat_test.ts
@@ -193,7 +193,7 @@ unitTest({ perms: { read: true } }, async function lstatNotFound(): Promise<
});
unitTest(
- { ignore: Deno.build.os !== "win", perms: { read: true, write: true } },
+ { ignore: Deno.build.os !== "windows", perms: { read: true, write: true } },
function statNoUnixFields(): void {
const enc = new TextEncoder();
const data = enc.encode("Hello");
@@ -214,7 +214,7 @@ unitTest(
);
unitTest(
- { ignore: Deno.build.os === "win", perms: { read: true, write: true } },
+ { ignore: Deno.build.os === "windows", perms: { read: true, write: true } },
function statUnixFields(): void {
const enc = new TextEncoder();
const data = enc.encode("Hello");