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