From 942e67c00b8ebdf6671fc8bb2e6c78c3ad8b3ff8 Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Thu, 27 Feb 2020 00:48:35 +0900 Subject: refactor(std/http): move io functions to http/io.ts (#4126) --- std/http/racing_server_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'std/http/racing_server_test.ts') diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts index 07df92bae..0f228419d 100644 --- a/std/http/racing_server_test.ts +++ b/std/http/racing_server_test.ts @@ -1,8 +1,7 @@ -const { connect, run } = Deno; - import { assert, assertEquals } from "../testing/asserts.ts"; import { BufReader, BufWriter } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; +const { connect, run, test } = Deno; let server: Deno.Process; async function startServer(): Promise { @@ -59,7 +58,7 @@ content-length: 6 Step7 `; -Deno.test(async function serverPipelineRace(): Promise { +test(async function serverPipelineRace(): Promise { await startServer(); const conn = await connect({ port: 4501 }); -- cgit v1.2.3