Skip to content

Commit 087fd13

Browse files
committed
test: replace forEach with for..of in test-http-url
1 parent 8ae0b25 commit 087fd13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-url.parse-only-support-http-https-protocol.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const invalidUrls = [
3434
'f://some.host/path',
3535
];
3636

37-
for(const invalid of invalidUrls){
37+
for (const invalid of invalidUrls) {
3838
assert.throws(
3939
() => { http.request(url.parse(invalid)); },
4040
{

0 commit comments

Comments
 (0)