summaryrefslogtreecommitdiff
path: root/tests/unit/command_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/command_test.ts')
-rw-r--r--tests/unit/command_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/command_test.ts b/tests/unit/command_test.ts
index c11761fe7..0a7891493 100644
--- a/tests/unit/command_test.ts
+++ b/tests/unit/command_test.ts
@@ -382,7 +382,7 @@ Deno.test(
await new Deno.Command(Deno.execPath(), {
args: ["eval", "console.log('hello world')"],
}).output();
- }, Deno.errors.PermissionDenied);
+ }, Deno.errors.NotCapable);
},
);
@@ -393,7 +393,7 @@ Deno.test(
new Deno.Command(Deno.execPath(), {
args: ["eval", "console.log('hello world')"],
}).outputSync();
- }, Deno.errors.PermissionDenied);
+ }, Deno.errors.NotCapable);
},
);