Index: test/filterListener.js |
=================================================================== |
--- a/test/filterListener.js |
+++ b/test/filterListener.js |
@@ -70,16 +70,25 @@ |
{ |
for (let filter of set) |
{ |
test.equal(matcher.findKeyword(filter), keyword, |
"Keyword of filter " + filter.text); |
filters.push(filter.text); |
} |
} |
+ for (let [keyword, set] of matcher._fastFilterByKeyword) |
+ { |
+ for (let filter of set) |
+ { |
+ test.equal(matcher.findKeyword(filter), keyword, |
+ "Keyword of filter " + filter.text); |
+ filters.push(filter.text); |
+ } |
+ } |
result[type] = filters; |
} |
let elemHide = sandboxedRequire("../lib/elemHide"); |
result.elemhide = []; |
for (let filter of elemHide.knownFilters) |
result.elemhide.push(filter.text); |