| Index: qunit/tests/url.js |
| =================================================================== |
| --- a/qunit/tests/url.js |
| +++ b/qunit/tests/url.js |
| @@ -14,20 +14,18 @@ |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| (function() |
| { |
| - let {getDecodedHostname, |
| - extractHostFromFrame, |
| - stringifyURL, |
| - isThirdParty} = require("url"); |
| + let {getDecodedHostname, extractHostFromFrame, stringifyURL, isThirdParty} = |
| + require("url"); |
| module("URL/host tools"); |
| test("Extracting hostname from URL", () => |
| { |
| function testURLHostname(url, expectedHostname, message) |
| { |
| equal(getDecodedHostname(new URL(url)), expectedHostname, message); |