Index: qunit/tests/filterValidation.js |
=================================================================== |
--- a/qunit/tests/filterValidation.js |
+++ b/qunit/tests/filterValidation.js |
@@ -1,16 +1,15 @@ |
"use strict"; |
(function() |
{ |
const {parseFilter, parseFilters} = require("filterValidation"); |
- const {BlockingFilter, |
- ElemHideFilter, |
- CommentFilter} = require("filterClasses"); |
+ const {BlockingFilter, ElemHideFilter, CommentFilter} = |
+ require("filterClasses"); |
module("Filter validation"); |
test("Detecting invalid filters", () => |
{ |
equal(parseFilter("||example.com^$unknown").error.type, "invalid-filter", |
"unknown option"); |
equal(parseFilter("[foobar]").error.type, "unexpected-filter-list-header", |