fix: add classLiteral to the language for class diagram namespace

This commit is contained in:
Krishna Upadhyay
2025-08-04 16:56:55 -05:00
parent 4ab98c2ec7
commit c99bce6bab
4 changed files with 27 additions and 0 deletions

View File

@@ -512,4 +512,17 @@ describe('Class diagram', () => {
);
});
});
it('should handle backticks for namespace and class names', () => {
imgSnapshotTest(
`
classDiagram
namespace \`A::B\` {
class \`IPC::Sender\`
}
RenderProcessHost --|> \`IPC::Sender\`
`,
{}
);
});
});