diff options
Diffstat (limited to 'tests/node_compat/test/parallel/test-net-isipv6.js')
-rw-r--r-- | tests/node_compat/test/parallel/test-net-isipv6.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/node_compat/test/parallel/test-net-isipv6.js b/tests/node_compat/test/parallel/test-net-isipv6.js index e74239d5d..752aa5aad 100644 --- a/tests/node_compat/test/parallel/test-net-isipv6.js +++ b/tests/node_compat/test/parallel/test-net-isipv6.js @@ -242,10 +242,10 @@ const v6not = [ '02001:0000:1234:0000:0000:C1C0:ABCD:0876', ]; -v6.forEach((ip) => { +for (const ip of v6) { assert.strictEqual(net.isIPv6(ip), true); -}); +} -v6not.forEach((ip) => { +for (const ip of v6not) { assert.strictEqual(net.isIPv6(ip), false); -}); +} |