2023-04-15 13:53:50 -05:00
|
|
|
// exact-check
|
|
|
|
|
2021-06-26 14:00:26 -05:00
|
|
|
const QUERY = [
|
|
|
|
'Result<SomeTrait>',
|
2023-04-15 13:53:50 -05:00
|
|
|
'Result<SomeTraiz>',
|
|
|
|
'OtherThingxxxxxxxx',
|
|
|
|
'OtherThingxxxxxxxy',
|
|
|
|
];
|
|
|
|
|
|
|
|
const CORRECTIONS = [
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
2021-06-26 14:00:26 -05:00
|
|
|
'OtherThingxxxxxxxx',
|
|
|
|
];
|
|
|
|
|
|
|
|
const EXPECTED = [
|
2023-04-15 13:53:50 -05:00
|
|
|
// Result<SomeTrait>
|
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
|
|
|
// Result<SomeTraiz>
|
|
|
|
{
|
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
// OtherThingxxxxxxxx
|
|
|
|
{
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
// OtherThingxxxxxxxy
|
2021-06-26 14:00:26 -05:00
|
|
|
{
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alpha' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_trait', 'name': 'alef' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|