From 48316f1b5dadd6d08a1711c9d35f0dc02c86fa91 Mon Sep 17 00:00:00 2001 From: "Sakthipriyan Vairamani (thefourtheye)" Date: Fri, 23 Dec 2016 11:02:49 +0530 Subject: [PATCH] test: fix linter error in whatwg-url-parsing test-whatwg-url-parsing file violates the linter rule changes in 966e5cfb8169a35bf3a99d0272256b0976681a70. This patch makes the linter happy. --- test/parallel/test-whatwg-url-parsing.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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, {