diff options
Diffstat (limited to 'std/http/racing_server_test.ts')
| -rw-r--r-- | std/http/racing_server_test.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts index 27be0d79c..639935339 100644 --- a/std/http/racing_server_test.ts +++ b/std/http/racing_server_test.ts @@ -1,6 +1,5 @@ const { connect, run } = Deno; -import { test, runIfMain } from "../testing/mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; @@ -48,7 +47,7 @@ content-length: 8 World 4 `; -test(async function serverPipelineRace(): Promise<void> { +Deno.test(async function serverPipelineRace(): Promise<void> { await startServer(); const conn = await connect({ port: 4501 }); @@ -62,5 +61,3 @@ test(async function serverPipelineRace(): Promise<void> { } killServer(); }); - -runIfMain(import.meta); |
