diff options
author | Yusuke Sakurai <kerokerokerop@gmail.com> | 2020-02-27 00:48:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 10:48:35 -0500 |
commit | 942e67c00b8ebdf6671fc8bb2e6c78c3ad8b3ff8 (patch) | |
tree | 9e53511a0cd6d55d4e9eb96e58f9b54e481981a5 /std/http/racing_server_test.ts | |
parent | 9a8d6fbd984d2c0f9775d90af64b3e95231dd21d (diff) |
refactor(std/http): move io functions to http/io.ts (#4126)
Diffstat (limited to 'std/http/racing_server_test.ts')
-rw-r--r-- | std/http/racing_server_test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
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<void> { @@ -59,7 +58,7 @@ content-length: 6 Step7 `; -Deno.test(async function serverPipelineRace(): Promise<void> { +test(async function serverPipelineRace(): Promise<void> { await startServer(); const conn = await connect({ port: 4501 }); |