aboutsummaryrefslogtreecommitdiff
path: root/test/language-transformer-cycles.test.js
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2024-02-10 12:32:55 +0700
committerGitHub <noreply@github.com>2024-02-10 05:32:55 +0000
commit6c8892e031b8ba9b62e2746f7807b5dafb2b984b (patch)
tree67754e47b8ebe0815a8fa425fe95d2e6c7c18c66 /test/language-transformer-cycles.test.js
parent884f2a0b9d81ffb41e0df46d2b16c2e102f93435 (diff)
Add eslint eol-last rule (#662)
* add eol-last eslint rule * fix lint * update css-json.test
Diffstat (limited to 'test/language-transformer-cycles.test.js')
-rw-r--r--test/language-transformer-cycles.test.js6
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
+});