mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
spelling: backticked
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -138,7 +138,7 @@ describe('given a basic class diagram, ', function () {
|
|||||||
expect(relations[0].title).toBe('manages');
|
expect(relations[0].title).toBe('manages');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle backquoted class names', function () {
|
it('should handle backticked class names', function () {
|
||||||
const str = 'classDiagram\n' + 'class `Car`';
|
const str = 'classDiagram\n' + 'class `Car`';
|
||||||
|
|
||||||
parser.parse(str);
|
parser.parse(str);
|
||||||
@@ -1207,7 +1207,7 @@ describe('given a class diagram with relationships, ', function () {
|
|||||||
parser.parse(str);
|
parser.parse(str);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle backquoted class name', function () {
|
it('should handle backticked class name', function () {
|
||||||
const str =
|
const str =
|
||||||
'classDiagram\n' +
|
'classDiagram\n' +
|
||||||
'`Class1` <|-- Class02\n' +
|
'`Class1` <|-- Class02\n' +
|
||||||
|
Reference in New Issue
Block a user