summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-11 09:14:50 +1000
committerGitHub <noreply@github.com>2024-09-11 01:14:50 +0200
commit4865ae13e1a637a86de1266f1f5147b6142872c6 (patch)
tree3c1ea1f29f5f5c8b854fba4de1ed504639c3472c /tests/unit
parentace1202227abeeac78db0266a13b451c1792a6ce (diff)
BREAKING(net): remove `Deno.[Tls]Listener.prototype.rid` (#25556)
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/net_test.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unit/net_test.ts b/tests/unit/net_test.ts
index b7230da25..c243da47f 100644
--- a/tests/unit/net_test.ts
+++ b/tests/unit/net_test.ts
@@ -2,11 +2,9 @@
import {
assert,
assertEquals,
- assertNotEquals,
assertRejects,
assertThrows,
delay,
- DENO_FUTURE,
execCode,
execCode2,
tmpUnixSocketPath,
@@ -28,9 +26,6 @@ Deno.test({ permissions: { net: true } }, function netTcpListenClose() {
assert(listener.addr.transport === "tcp");
assertEquals(listener.addr.hostname, "127.0.0.1");
assertEquals(listener.addr.port, listenPort);
- if (!DENO_FUTURE) {
- assertNotEquals(listener.rid, 0);
- }
listener.close();
});