diff options
author | Rich Trott <rtrott@gmail.com> | 2017-03-03 10:54:10 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-03-06 14:58:19 -0800 |
commit | 60c8115f6347d469a43a843fbef3aa2c19bbf3a4 (patch) | |
tree | b20803e62eea56e87838d66091ade7b4399ab96c /test/parallel/test-url-format.js | |
parent | a2ae08999b55088cbc447e5801f009694d71c3a7 (diff) | |
download | android-node-v8-60c8115f6347d469a43a843fbef3aa2c19bbf3a4.tar.gz android-node-v8-60c8115f6347d469a43a843fbef3aa2c19bbf3a4.tar.bz2 android-node-v8-60c8115f6347d469a43a843fbef3aa2c19bbf3a4.zip |
test: clean up comments in test-url-format
test-url-format has the max-len rule disabled by a comment but doesn't
have any lines that violate the max-len lint rule. Remove the comment.
Reformat other comments for capitalization, punctuation, and updated
URLs.
PR-URL: https://github.com/nodejs/node/pull/11679
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'test/parallel/test-url-format.js')
-rw-r--r-- | test/parallel/test-url-format.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/parallel/test-url-format.js b/test/parallel/test-url-format.js index ba427628c2..077ced5a07 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 `%`. - // <https://github.com/joyent/node/issues/4082> + // <https://github.com/nodejs/node-v0.x-archive/issues/4082> // `#`,`?` in path '/path/to/%%23%3F+=&.txt?foo=theA1#bar': { |