diff options
Diffstat (limited to 'tests/unit/process_test.ts')
-rw-r--r-- | tests/unit/process_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/process_test.ts b/tests/unit/process_test.ts index 0d14c9ce7..93736e9ba 100644 --- a/tests/unit/process_test.ts +++ b/tests/unit/process_test.ts @@ -17,7 +17,7 @@ Deno.test( Deno.run({ cmd: [Deno.execPath(), "eval", "console.log('hello world')"], }); - }, Deno.errors.PermissionDenied); + }, Deno.errors.NotCapable); }, ); @@ -517,7 +517,7 @@ Deno.test({ permissions: { run: false } }, function killPermissions() { // process - assuming that Deno does not have a special handler set for it // and will just continue even if a signal is erroneously sent. Deno.kill(Deno.pid, "SIGCONT"); - }, Deno.errors.PermissionDenied); + }, Deno.errors.NotCapable); }); Deno.test( |