summaryrefslogtreecommitdiff
path: root/std/http/server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/server_test.ts')
-rw-r--r--std/http/server_test.ts5
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);