From 46cbc6e0e96750cd2e3ba7e0d80bb9c48b66caf2 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 10 Sep 2019 12:39:42 +0900 Subject: refactor: remove Deno.platform (#2895) --- js/process_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/process_test.ts') 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 { }); 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 { -- cgit v1.2.3