summaryrefslogtreecommitdiff
path: root/cli/tests/unit/net_test.ts
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-24 22:29:36 +0100
committerGitHub <noreply@github.com>2021-01-24 22:29:36 +0100
commit66e99d349b31f5cd30b868d80ebdab6ba749fd96 (patch)
tree2fdf22255cb15a750574d37b33de2a4637d62a5e /cli/tests/unit/net_test.ts
parentfeff6361b1247c82bb86aedfea349b04899b9610 (diff)
tests: enable wpt for url (#9046)
Diffstat (limited to 'cli/tests/unit/net_test.ts')
-rw-r--r--cli/tests/unit/net_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts
index 99af959cc..f69745ea5 100644
--- a/cli/tests/unit/net_test.ts
+++ b/cli/tests/unit/net_test.ts
@@ -424,7 +424,7 @@ unitTest(
unitTest(
{ perms: { net: true } },
async function netTcpListenCloseWhileIterating(): Promise<void> {
- const listener = Deno.listen({ port: 8000 });
+ const listener = Deno.listen({ port: 8001 });
const nextWhileClosing = listener[Symbol.asyncIterator]().next();
listener.close();
assertEquals(await nextWhileClosing, { value: undefined, done: true });
@@ -437,7 +437,7 @@ unitTest(
unitTest(
{ perms: { net: true } },
async function netUdpListenCloseWhileIterating(): Promise<void> {
- const socket = Deno.listenDatagram({ port: 8000, transport: "udp" });
+ const socket = Deno.listenDatagram({ port: 8001, transport: "udp" });
const nextWhileClosing = socket[Symbol.asyncIterator]().next();
socket.close();
assertEquals(await nextWhileClosing, { value: undefined, done: true });