diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 17:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 17:24:27 +0100 |
commit | 61273085e40fb4d992eef4b1b5601e3567c80664 (patch) | |
tree | 1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/http/file_server_test.ts | |
parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/http/file_server_test.ts')
-rw-r--r-- | std/http/file_server_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts index 099723b87..ba625b7c8 100644 --- a/std/http/file_server_test.ts +++ b/std/http/file_server_test.ts @@ -1,8 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { test, runIfMain } from "../testing/mod.ts"; import { assert, assertEquals, assertStrContains } from "../testing/asserts.ts"; import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; +const { test } = Deno; let fileServer: Deno.Process; @@ -135,5 +135,3 @@ test(async function printHelp(): Promise<void> { helpProcess.close(); helpProcess.stdout.close(); }); - -runIfMain(import.meta); |