diff --git a/test/parallel/test-http-url.parse-only-support-http-https-protocol.js b/test/parallel/test-http-url.parse-only-support-http-https-protocol.js index 5537c898841694..3f6633075c6aec 100644 --- a/test/parallel/test-http-url.parse-only-support-http-https-protocol.js +++ b/test/parallel/test-http-url.parse-only-support-http-https-protocol.js @@ -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)); }, {