Skip to content

Commit 1f4c125

Browse files
committed
test: replace forEach with for..of in test-net-isipv4.js
1 parent 616357a commit 1f4c125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-net-isipv4.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ const v4not = [
3939

4040
for(const ip of v4) {
4141
assert.strictEqual(net.isIPv4(ip), true);
42-
};
42+
}
4343

4444
for(const ip of v4not) {
4545
assert.strictEqual(net.isIPv4(ip), false);
46-
};
46+
}

0 commit comments

Comments
 (0)