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/server_test.ts | |
parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/http/server_test.ts')
-rw-r--r-- | std/http/server_test.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/std/http/server_test.ts b/std/http/server_test.ts index 10b0fec20..a18cd273c 100644 --- a/std/http/server_test.ts +++ b/std/http/server_test.ts @@ -5,9 +5,8 @@ // Ported from // https://github.com/golang/go/blob/master/src/net/http/responsewrite_test.go -const { Buffer } = Deno; +const { Buffer, test } = Deno; import { TextProtoReader } from "../textproto/mod.ts"; -import { test, runIfMain } from "../testing/mod.ts"; import { assert, assertEquals, @@ -820,5 +819,3 @@ test("writeTrailer should throw", async () => { "Not trailer" ); }); - -runIfMain(import.meta); |