diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2022-05-14 14:10:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 14:10:39 +0200 |
commit | c496639d5dc190b107222bc30462d67ddb86c223 (patch) | |
tree | a307526bd733ca0dd55308f4f5bbb8b6e4c37ef1 /cli/tests/unit/process_test.ts | |
parent | bd4256262a1091d43c18d069c724fa9b41c01b95 (diff) |
refactor(runtime): change from signal_str_to_int function to enum (#14539)
Diffstat (limited to 'cli/tests/unit/process_test.ts')
-rw-r--r-- | cli/tests/unit/process_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index 5acb92226..9abe149f9 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_test.ts @@ -473,10 +473,10 @@ Deno.test( Deno.test({ permissions: { run: false } }, function killPermissions() { assertThrows(() => { // Unlike the other test cases, we don't have permission to spawn a - // subprocess we can safely kill. Instead we send SIGCONT to the current + // subprocess we can safely kill. Instead we send SIGTERM to the current // 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.kill(Deno.pid, "SIGTERM"); }, Deno.errors.PermissionDenied); }); |