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 <[email protected]>
  • Loading branch information
thefourtheye authored and evanlucas committed Jan 4, 2017
1 parent 0533294 commit 9d0220c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/parallel/test-whatwg-url-parsing.js
Original file line number Diff line number Diff line change
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 9d0220c

Please sign in to comment.