2023-04-15 13:53:50 -05:00
|
|
|
// exact-check
|
|
|
|
|
2021-06-26 14:00:26 -05:00
|
|
|
const EXPECTED = [
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': 'Result<SomeTrait>',
|
|
|
|
'correction': null,
|
2021-06-26 14:00:26 -05:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'beta' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'bet' },
|
|
|
|
],
|
|
|
|
},
|
2023-04-15 13:53:50 -05:00
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': 'Result<SomeTraiz>',
|
|
|
|
'correction': null,
|
2023-04-15 13:53:50 -05:00
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': 'OtherThingxxxxxxxx',
|
|
|
|
'correction': null,
|
2023-04-15 13:53:50 -05:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
|
|
],
|
|
|
|
},
|
2021-06-26 14:00:26 -05:00
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': 'OtherThingxxxxxxxy',
|
|
|
|
'correction': 'OtherThingxxxxxxxx',
|
2021-06-26 14:00:26 -05:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|