diff options
Diffstat (limited to 'test/language-transformer-cycles.test.js')
-rw-r--r-- | test/language-transformer-cycles.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/language-transformer-cycles.test.js b/test/language-transformer-cycles.test.js index 76bee83e..b778c188 100644 --- a/test/language-transformer-cycles.test.js +++ b/test/language-transformer-cycles.test.js @@ -154,8 +154,8 @@ describe('Deinflection data', () => { for (const item of newDeinflectionNode.getHistory()) { stack.push( item.ruleNode === null ? - `${item.text} (start)` : - `${item.text} (${item.ruleNode.groupName}, ${item.ruleNode.rule.conditionsIn.join(',')}=>${item.ruleNode.rule.conditionsOut.join(',')}, ${item.ruleNode.rule.suffixIn}=>${item.ruleNode.rule.suffixOut})` + `${item.text} (start)` : + `${item.text} (${item.ruleNode.groupName}, ${item.ruleNode.rule.conditionsIn.join(',')}=>${item.ruleNode.rule.conditionsOut.join(',')}, ${item.ruleNode.rule.suffixIn}=>${item.ruleNode.rule.suffixOut})` ); } const message = `Cycle detected:\n ${stack.join('\n ')}`; @@ -167,4 +167,4 @@ describe('Deinflection data', () => { } } }); -});
\ No newline at end of file +}); |