summaryrefslogtreecommitdiff
path: root/http/server_test.ts
diff options
context:
space:
mode:
authorYusuke Sakurai <kerokerokerop@gmail.com>2019-02-11 08:45:24 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-02-10 18:45:24 -0500
commited20bda6ec324b8143c6210024647d2692232c26 (patch)
treebff7ec730f156d1f4b7041cfe1e2651f513349c3 /http/server_test.ts
parent52e047138a32e8366369737dc54198f1a5baa1cb (diff)
refactor: make acceptWebSocket independent from ServerRequest (denoland/deno_std#178)
Original: https://github.com/denoland/deno_std/commit/88ddd5677dec9a8281c4d86ba27b0c9047189740
Diffstat (limited to 'http/server_test.ts')
-rw-r--r--http/server_test.ts11
1 files changed, 3 insertions, 8 deletions
diff --git a/http/server_test.ts b/http/server_test.ts
index 5fdb63ceb..099547d0c 100644
--- a/http/server_test.ts
+++ b/http/server_test.ts
@@ -6,14 +6,9 @@
// https://github.com/golang/go/blob/master/src/net/http/responsewrite_test.go
import { Buffer } from "deno";
-import { test, assert, assertEqual } from "../testing/mod.ts";
-import {
- listenAndServe,
- ServerRequest,
- setContentLength,
- Response
-} from "./server.ts";
-import { BufWriter, BufReader } from "../io/bufio.ts";
+import { assertEqual, test } from "../testing/mod.ts";
+import { Response, ServerRequest } from "./server.ts";
+import { BufReader, BufWriter } from "../io/bufio.ts";
interface ResponseTest {
response: Response;