Skip to content

Commit ec33f4e

Browse files
committed
test: add non-loopback IPv6 cases to isLoopback test
Signed-off-by: Daijiro Wachi <daijiro.wachi@gmail.com>
1 parent 102d4cf commit ec33f4e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/parallel/test-internal-net-isLoopback.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ const loopbackNot = [
2323
'[2001:db8::1]',
2424
'[fe80::1]',
2525
'8.8.8.8',
26+
'::2',
27+
'[::2]',
28+
'0:0:0:0:0:0:0:2',
29+
'[0:0:0:0:0:0:0:2]',
2630
];
2731

2832
for (const address of loopback) {

0 commit comments

Comments
 (0)