From 61273085e40fb4d992eef4b1b5601e3567c80664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 11 Feb 2020 17:24:27 +0100 Subject: refactor: rewrite tests in std/ to use Deno.test (#3930) --- std/http/file_server_test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'std/http/file_server_test.ts') 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 { helpProcess.close(); helpProcess.stdout.close(); }); - -runIfMain(import.meta); -- cgit v1.2.3