Skip to content

Commit

Permalink
test: replace forEach with for..of in test-net-isipv4.js
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 30, 2023
1 parent 616357a commit 1f4c125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-net-isipv4.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const v4not = [

for(const ip of v4) {
assert.strictEqual(net.isIPv4(ip), true);
};
}

for(const ip of v4not) {
assert.strictEqual(net.isIPv4(ip), false);
};
}

0 comments on commit 1f4c125

Please sign in to comment.