From 8cec32a86a302cf8e269faf464495c0c001e2c09 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 21 Jan 2024 13:50:17 -0500 Subject: [PATCH] Rename --- test/deinflection-cycles.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } }