Skip to content

Commit

Permalink
test: fix linter error in whatwg-url-parsing
Browse files Browse the repository at this point in the history
test-whatwg-url-parsing file violates the linter rule changes in
#10213. This patch makes the linter
happy.

PR-URL: #10421

Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
thefourtheye authored and evanlucas committed Jan 3, 2017
1 parent fc90a7d commit 456248d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/parallel/test-whatwg-url-parsing.js
Expand Up @@ -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, {
Expand Down

0 comments on commit 456248d

Please sign in to comment.