Skip to content

Commit

Permalink
test: ipv6 with zone index
Browse files Browse the repository at this point in the history
  • Loading branch information
jazelly committed Aug 22, 2024
1 parent 6ff4d74 commit a050a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-server-listen-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function close() { this.close(); }
// Test listen(host, port}) on ipv4
net.createServer().listen({ host: '127.0.0.1', port: '3000' }).on('listening', common.mustCall(close));
// Test listen(host, port}) on ipv6
net.createServer().listen({ host: '::1', port: '3000' }).on('listening', common.mustCall(close));
net.createServer().listen({ host: '::', port: '3000' }).on('listening', common.mustCall(close));
}

// Test listen(port, cb) and listen({ port }, cb) combinations
Expand Down

0 comments on commit a050a83

Please sign in to comment.