summaryrefslogtreecommitdiff
path: root/http/server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'http/server_test.ts')
-rw-r--r--http/server_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/server_test.ts b/http/server_test.ts
index 692293e80..314e5232e 100644
--- a/http/server_test.ts
+++ b/http/server_test.ts
@@ -512,7 +512,7 @@ test({
await delay(100);
// Reqeusts to the server and immediately closes the connection
- const conn = await Deno.dial("tcp", "127.0.0.1:4502");
+ const conn = await Deno.dial({ port: 4502 });
await conn.write(new TextEncoder().encode("GET / HTTP/1.0\n\n"));
conn.close();