Browse Source

test: fix linter error in whatwg-url-parsing

test-whatwg-url-parsing file violates the linter rule changes in
https://github.com/nodejs/node/pull/10213. This patch makes the linter
happy.

PR-URL: https://github.com/nodejs/node/pull/10421

Reviewed-By: Anna Henningsen <anna@addaleax.net>
v7.x
Sakthipriyan Vairamani (thefourtheye) 8 years ago
committed by Evan Lucas
parent
commit
9d0220c4de
  1. 4
      test/parallel/test-whatwg-url-parsing.js

4
test/parallel/test-whatwg-url-parsing.js

@ -136,9 +136,7 @@ for (const test of tests) {
}
for (const test of allTests) {
const url = test.url
? new URL(test.url)
: new URL(test.input, test.base);
const url = test.url ? new URL(test.url) : new URL(test.input, test.base);
for (const showHidden of [true, false]) {
const res = url.inspect(null, {

Loading…
Cancel
Save