This commit is contained in:
Knut Sveidqvist
2025-04-29 15:26:48 +02:00
parent 30d2cac243
commit 973401f4af
5 changed files with 1 additions and 112 deletions

View File

@@ -270,7 +270,6 @@ id1[SquareNode I am]
id12{{HexagonNode I am}}
id13
`);
expect(result.lexerErrors).toHaveLength(0);
expect(result.parserErrors).toHaveLength(0);
expect(result.value.MindmapRows).toHaveLength(13);
@@ -351,7 +350,6 @@ describe('Miscellaneous (ported from mindmap.spec.ts)', () => {
});
it('MMP-21 should be possible to have comments in a mindmap', () => {
const result = parse(
// 'mindmap\nroot(Root)\n Child(Child)\n a(a)\n %% This is a comment\n b[New Stuff]'
'mindmap\nroot(Root)\n Child(Child)\n a(a)\n\n %% This is a comment\n b[New Stuff]'
);
expect(result.lexerErrors).toHaveLength(0);