2022-01-26 16:24:36 +00:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
// check one of the generic items
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Result<SomeTrait>',
|
2022-01-26 16:24:36 +00:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_multi_trait', 'name': 'beta' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_multi_trait', 'name': 'bet' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Zzzzzzzzzzzzzzzzzz',
|
2022-01-26 16:24:36 +00:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'generics_multi_trait', 'name': 'beta' },
|
|
|
|
],
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'generics_multi_trait', 'name': 'bet' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
// ignore the name of the generic itself
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'Nonononononononono',
|
2022-01-26 16:24:36 +00:00
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
];
|