Skip to content

Commit

Permalink
test: replaced forEach with for..of in test-http-url
Browse files Browse the repository at this point in the history
  • Loading branch information
niyashiyas committed Sep 25, 2023
1 parent 47a0375 commit 8e7e48f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const invalidUrls = [
'f://some.host/path',
];

for(const invalid of invalidUrls){
for (const invalid of invalidUrls) {
assert.throws(
() => { http.request(url.parse(invalid)); },
{
Expand Down

0 comments on commit 8e7e48f

Please sign in to comment.