mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
refactor(std/http): move io functions to http/io.ts (#4126)
This commit is contained in:
parent
9a8d6fbd98
commit
942e67c00b
10 changed files with 667 additions and 691 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue