diff options
author | JaePil Jung <jjp5023@gmail.com> | 2019-01-13 23:39:23 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-13 09:39:23 -0500 |
commit | 02792d58d4b91019bf82e9df2658d7260b85f109 (patch) | |
tree | 36f28a191e15a3edcdceefb7f3a529ba5e1c2cb6 /js/process_test.ts | |
parent | 37e3db00a264423a7cf70f663119bbc6a57990eb (diff) |
Remove unnecessary async keyword in test file (#1507)
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"] }); |