summaryrefslogtreecommitdiff
path: root/cli/js/os_test.ts
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2019-12-21 11:30:13 +0000
committerRy Dahl <ry@tinyclouds.org>2019-12-21 06:30:13 -0500
commitf07ffe89806392698fb8052691b2826f82f15bbe (patch)
tree255eb2d0f3460bd4c526583ce92640fea8504590 /cli/js/os_test.ts
parentf4f4c6bcb435ffb7e1dd9383d8d39e9e36b1337a (diff)
feat: Add Deno.dir("executable") (#3526)
Diffstat (limited to 'cli/js/os_test.ts')
-rw-r--r--cli/js/os_test.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/js/os_test.ts b/cli/js/os_test.ts
index 55a62792d..749c25d83 100644
--- a/cli/js/os_test.ts
+++ b/cli/js/os_test.ts
@@ -147,6 +147,14 @@ testPerm({ env: true }, function getDir(): void {
]
},
{
+ kind: "executable",
+ runtime: [
+ { os: "mac", shouldHaveValue: false },
+ { os: "win", shouldHaveValue: false },
+ { os: "linux", shouldHaveValue: true }
+ ]
+ },
+ {
kind: "data",
runtime: [
{ os: "mac", shouldHaveValue: true },