From c496639d5dc190b107222bc30462d67ddb86c223 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Sat, 14 May 2022 14:10:39 +0200 Subject: refactor(runtime): change from signal_str_to_int function to enum (#14539) --- cli/tests/unit/process_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests') 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); }); -- cgit v1.2.3