We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff4d74 commit a050a83Copy full SHA for a050a83
1 file changed
test/parallel/test-net-server-listen-options.js
@@ -18,7 +18,7 @@ function close() { this.close(); }
18
// Test listen(host, port}) on ipv4
19
net.createServer().listen({ host: '127.0.0.1', port: '3000' }).on('listening', common.mustCall(close));
20
// Test listen(host, port}) on ipv6
21
- net.createServer().listen({ host: '::1', port: '3000' }).on('listening', common.mustCall(close));
+ net.createServer().listen({ host: '::', port: '3000' }).on('listening', common.mustCall(close));
22
}
23
24
// Test listen(port, cb) and listen({ port }, cb) combinations
0 commit comments