diff options
Diffstat (limited to 'js/process_test.ts')
-rw-r--r-- | js/process_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/process_test.ts b/js/process_test.ts index ca2a4a64a..8c6271985 100644 --- a/js/process_test.ts +++ b/js/process_test.ts @@ -3,7 +3,7 @@ import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import { run, DenoError, ErrorKind } from "deno"; import * as deno from "deno"; -test(async function runPermissions() { +test(function runPermissions() { let caughtError = false; try { deno.run({ args: ["python", "-c", "print('hello world')"] }); @@ -52,7 +52,7 @@ testPerm({ run: true }, async function runCommandFailedWithSignal() { p.close(); }); -testPerm({ run: true }, async function runNotFound() { +testPerm({ run: true }, function runNotFound() { let error; try { run({ args: ["this file hopefully doesn't exist"] }); |