Skip to content

Commit 9d0220c

Browse files
thefourtheyeevanlucas
authored andcommitted
test: fix linter error in whatwg-url-parsing
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]>
1 parent 0533294 commit 9d0220c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ for (const test of tests) {
136136
}
137137

138138
for (const test of allTests) {
139-
const url = test.url
140-
? new URL(test.url)
141-
: new URL(test.input, test.base);
139+
const url = test.url ? new URL(test.url) : new URL(test.input, test.base);
142140

143141
for (const showHidden of [true, false]) {
144142
const res = url.inspect(null, {

0 commit comments

Comments
 (0)