diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-09-10 12:39:42 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-09 23:39:42 -0400 |
commit | 46cbc6e0e96750cd2e3ba7e0d80bb9c48b66caf2 (patch) | |
tree | 89889584009ffd44cf01f2d5ee9e73e2a027c9ca /js/process_test.ts | |
parent | 35e3c06aed851f65ad0d561d73a447ab5765fc13 (diff) |
refactor: remove Deno.platform (#2895)
Diffstat (limited to 'js/process_test.ts')
-rw-r--r-- | js/process_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/process_test.ts b/js/process_test.ts index 0f9f608e8..42db06dee 100644 --- a/js/process_test.ts +++ b/js/process_test.ts @@ -312,15 +312,15 @@ testPerm({ run: true }, async function runClose(): Promise<void> { }); test(function signalNumbers(): void { - if (Deno.platform.os === "mac") { + if (Deno.build.os === "mac") { assertEquals(Deno.Signal.SIGSTOP, 17); - } else if (Deno.platform.os === "linux") { + } else if (Deno.build.os === "linux") { assertEquals(Deno.Signal.SIGSTOP, 19); } }); // Ignore signal tests on windows for now... -if (Deno.platform.os !== "win") { +if (Deno.build.os !== "win") { test(function killPermissions(): void { let caughtError = false; try { |