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