summaryrefslogtreecommitdiff
path: root/js/process_test.ts
diff options
context:
space:
mode:
authorJaePil Jung <jjp5023@gmail.com>2019-01-13 23:39:23 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-01-13 09:39:23 -0500
commit02792d58d4b91019bf82e9df2658d7260b85f109 (patch)
tree36f28a191e15a3edcdceefb7f3a529ba5e1c2cb6 /js/process_test.ts
parent37e3db00a264423a7cf70f663119bbc6a57990eb (diff)
Remove unnecessary async keyword in test file (#1507)
Diffstat (limited to 'js/process_test.ts')
-rw-r--r--js/process_test.ts4
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"] });