summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-connect-options-port.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-net-connect-options-port.js')
-rw-r--r--test/parallel/test-net-connect-options-port.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-connect-options-port.js b/test/parallel/test-net-connect-options-port.js
index 88e626354e..91598f5f15 100644
--- a/test/parallel/test-net-connect-options-port.js
+++ b/test/parallel/test-net-connect-options-port.js
@@ -59,7 +59,7 @@ const net = require('net');
// Test invalid hints
{
// connect({hint}, cb) and connect({hint})
- const hints = (dns.ADDRCONFIG | dns.V4MAPPED) + 42;
+ const hints = (dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL) + 42;
const hintOptBlocks = doConnect([{ hints }],
() => common.mustNotCall());
for (const fn of hintOptBlocks) {