diff --git a/test/deinflection-cycles.test.js b/test/deinflection-cycles.test.js index fe697f4d0a..a010d7a363 100644 --- a/test/deinflection-cycles.test.js +++ b/test/deinflection-cycles.test.js @@ -112,8 +112,8 @@ describe('Deinflection data', () => { /** @type {RuleNode[]} */ const ruleNodes = []; - for (const [groupName, rules] of Object.entries(deinflectionReasons)) { - for (const rule of rules) { + for (const [groupName, reasonInfo] of Object.entries(deinflectionReasons)) { + for (const rule of reasonInfo) { ruleNodes.push(new RuleNode(groupName, rule)); } }