2023-03-30 23:53:11 -05:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': '-> Out<First<Second>>',
|
2023-03-30 23:53:11 -05:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'generics_nested', 'name': 'alef' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': '-> Out<Second<First>>',
|
2023-03-30 23:53:11 -05:00
|
|
|
'others': [],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': '-> Out<First, Second>',
|
2023-03-30 23:53:11 -05:00
|
|
|
'others': [
|
|
|
|
{ 'path': 'generics_nested', 'name': 'bet' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2024-09-24 20:18:01 -05:00
|
|
|
// can't put generics out of order
|
2023-06-09 09:49:38 -05:00
|
|
|
'query': '-> Out<Second, First>',
|
2024-09-24 20:18:01 -05:00
|
|
|
'others': [],
|
2023-03-30 23:53:11 -05:00
|
|
|
},
|
|
|
|
];
|