diff --git a/test/parallel/test-url-format.js b/test/parallel/test-url-format.js index ba427628c28a12..077ced5a078824 100644 --- a/test/parallel/test-url-format.js +++ b/test/parallel/test-url-format.js @@ -1,11 +1,10 @@ -/* eslint-disable max-len */ 'use strict'; require('../common'); const assert = require('assert'); const url = require('url'); -// some extra formatting tests, just to verify -// that it'll format slightly wonky content to a valid url. +// Formatting tests to verify that it'll format slightly wonky content to a +// valid URL. const formatTests = { 'http://example.com?': { href: 'http://example.com/?', @@ -133,7 +132,7 @@ const formatTests = { protocol: 'dot.test:', pathname: '/bar' }, - // ipv6 support + // IPv6 support 'coap:u:p@[::1]:61616/.well-known/r?n=Temperature': { href: 'coap:u:p@[::1]:61616/.well-known/r?n=Temperature', protocol: 'coap:', @@ -150,9 +149,9 @@ const formatTests = { pathname: '/s/stopButton' }, - // encode context-specific delimiters in path and query, but do not touch + // Encode context-specific delimiters in path and query, but do not touch // other non-delimiter chars like `%`. - // + // // `#`,`?` in path '/path/to/%%23%3F+=&.txt?foo=theA1#bar': {