Index: test/filterListener.js |
diff --git a/test/filterListener.js b/test/filterListener.js |
index 75b416e18bde2f91e6dabe5a05874f73ffab96eb..a0360b6f87c915c3ff6aa3e62b2dde53219f4e5a 100644 |
--- a/test/filterListener.js |
+++ b/test/filterListener.js |
@@ -64,9 +64,8 @@ function checkKnownFilters(test, text, expected) |
{ |
let matcher = defaultMatcher[type]; |
let filters = []; |
- for (let keyword in matcher.filterByKeyword) |
+ for (let [keyword, list] of matcher.filterByKeyword) |
{ |
- let list = matcher.filterByKeyword[keyword]; |
for (let i = 0; i < list.length; i++) |
{ |
let filter = list[i]; |