Skip to content

Commit

Permalink
test: Replaced forEach with for..of in test-net-isipv6.js
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 24, 2023
1 parent dd4da4f commit 5b6409f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-net-isipv6.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ const v6not = [

for(const ip of v6) {
assert.strictEqual(net.isIPv6(ip), true);
};
}

for(const ip of v6not) {
assert.strictEqual(net.isIPv6(ip), false);
};
}

0 comments on commit 5b6409f

Please sign in to comment.