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…
Reference in New Issue