diff --git a/test/parallel/test-whatwg-url-parsing.js b/test/parallel/test-whatwg-url-parsing.js index 99bc3ce1c63c94..ae14d1ff5060bf 100644 --- a/test/parallel/test-whatwg-url-parsing.js +++ b/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, {