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>
This commit is contained in:
parent
966e5cfb81
commit
5acfbb0f25
@ -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…
x
Reference in New Issue
Block a user