Skip to content

Commit 5b6409f

Browse files
committed
test: Replaced forEach with for..of in test-net-isipv6.js
1 parent dd4da4f commit 5b6409f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-net-isipv6.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ const v6not = [
237237

238238
for(const ip of v6) {
239239
assert.strictEqual(net.isIPv6(ip), true);
240-
};
240+
}
241241

242242
for(const ip of v6not) {
243243
assert.strictEqual(net.isIPv6(ip), false);
244-
};
244+
}

0 commit comments

Comments
 (0)