From 456248d3141a7443b2f11b417e73fc9f2c40eace 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 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 --- 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, {