summaryrefslogtreecommitdiff
path: root/cli/js/tests/files_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/tests/files_test.ts')
-rw-r--r--cli/js/tests/files_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/tests/files_test.ts b/cli/js/tests/files_test.ts
index eda484b2d..8952166db 100644
--- a/cli/js/tests/files_test.ts
+++ b/cli/js/tests/files_test.ts
@@ -172,7 +172,7 @@ unitTest(
});
file.close();
const pathInfo = Deno.statSync(path);
- if (Deno.build.os !== "win") {
+ if (Deno.build.os !== "windows") {
assertEquals(pathInfo.mode! & 0o777, 0o626 & ~Deno.umask());
}
}
@@ -191,7 +191,7 @@ unitTest(
});
file.close();
const pathInfo = Deno.statSync(path);
- if (Deno.build.os !== "win") {
+ if (Deno.build.os !== "windows") {
assertEquals(pathInfo.mode! & 0o777, 0o626 & ~Deno.umask());
}
}