diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2024-01-30 15:34:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 15:34:31 +0900 |
commit | ab8b1b11d7126fdf9a1bccd0d3cd39920e817e41 (patch) | |
tree | a3def484d0bd640dbdda570ef08eed51973307e3 /cli/tests/unit/os_test.ts | |
parent | 345423cf7697326258ce8b32f681910f4a2f77de (diff) |
fix(runtime): return number from `op_ppid` instead of bigint (#22169)
Fixes #22166
Diffstat (limited to 'cli/tests/unit/os_test.ts')
-rw-r--r-- | cli/tests/unit/os_test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/unit/os_test.ts b/cli/tests/unit/os_test.ts index a8cc55e87..e24494854 100644 --- a/cli/tests/unit/os_test.ts +++ b/cli/tests/unit/os_test.ts @@ -158,10 +158,12 @@ Deno.test({ permissions: { env: true } }, function envInvalidChars() { }); Deno.test(function osPid() { + assertEquals(typeof Deno.pid, "number"); assert(Deno.pid > 0); }); Deno.test(function osPpid() { + assertEquals(typeof Deno.ppid, "number"); assert(Deno.ppid > 0); }); |