rustdoc: fix test case for generics that look like names

This commit is contained in:
Michael Howell 2023-08-05 12:27:58 -07:00
parent 89a4c7f552
commit 6068850008
3 changed files with 11 additions and 4 deletions

View file

@ -12,11 +12,15 @@ const EXPECTED = [
],
},
{
'query': 'Result<SomeTraiz>',
'correction': null,
'query': 'Resulx<SomeTrait>',
'in_args': [],
'returned': [],
},
{
'query': 'Result<SomeTraiz>',
'proposeCorrectionFrom': 'SomeTraiz',
'proposeCorrectionTo': 'SomeTrait',
},
{
'query': 'OtherThingxxxxxxxx',
'correction': null,