summaryrefslogtreecommitdiff
path: root/js/os_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/os_test.ts
parent37e3db00a264423a7cf70f663119bbc6a57990eb (diff)
Remove unnecessary async keyword in test file (#1507)
Diffstat (limited to 'js/os_test.ts')
-rw-r--r--js/os_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/os_test.ts b/js/os_test.ts
index 4b7ec4543..0284671e0 100644
--- a/js/os_test.ts
+++ b/js/os_test.ts
@@ -2,7 +2,7 @@
import { test, testPerm, assert, assertEqual } from "./test_util.ts";
import * as deno from "deno";
-testPerm({ env: true }, async function envSuccess() {
+testPerm({ env: true }, function envSuccess() {
const env = deno.env();
assert(env !== null);
env.test_var = "Hello World";
@@ -10,7 +10,7 @@ testPerm({ env: true }, async function envSuccess() {
assertEqual(env.test_var, newEnv.test_var);
});
-test(async function envFailure() {
+test(function envFailure() {
let caughtError = false;
try {
const env = deno.env();