mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Add nested test
This commit is contained in:
parent
fd70b862ed
commit
c37ff47ee3
@ -106,7 +106,7 @@ describe('Sanitize text', function () {
|
||||
|
||||
describe('generic parser', function () {
|
||||
it('should parse generic types', function () {
|
||||
const result = parseGenericTypes('test~T~');
|
||||
expect(result).toEqual('test<T>');
|
||||
expect(parseGenericTypes('test~T~')).toEqual('test<T>');
|
||||
expect(parseGenericTypes('test~Array~Array~string~~~')).toEqual('test<Array<Array<string>>>');
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user