Skip to content

Commit

Permalink
test: replace 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 30, 2023
1 parent 86bdd2a commit 2458e27
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 2458e27

Please sign in to comment.