2021-01-30 16:39:44 +00:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'i32',
|
2021-01-30 16:39:44 +00:00
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'str',
|
2021-01-30 16:39:44 +00:00
|
|
|
'returned': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
2023-03-01 01:17:59 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'primitive:str',
|
2023-03-01 01:17:59 +00:00
|
|
|
'returned': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'struct:str',
|
2023-03-01 01:17:59 +00:00
|
|
|
'returned': [],
|
|
|
|
},
|
2021-01-30 16:39:44 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
'query': 'TotoIsSomewhere',
|
2021-01-30 16:39:44 +00:00
|
|
|
'others': [],
|
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
];
|