2021-01-30 10:39:44 -06:00
|
|
|
// exact-check
|
|
|
|
|
|
|
|
const QUERY = [
|
|
|
|
"i32",
|
|
|
|
"str",
|
2023-02-28 19:17:59 -06:00
|
|
|
"primitive:str",
|
|
|
|
"struct:str",
|
2021-01-30 10:39:44 -06:00
|
|
|
"TotoIsSomewhere",
|
|
|
|
];
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
{
|
|
|
|
'in_args': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
2023-02-28 19:17:59 -06:00
|
|
|
{
|
|
|
|
'returned': [
|
|
|
|
{ 'path': 'primitive', 'name': 'foo' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'returned': [],
|
|
|
|
},
|
2021-01-30 10:39:44 -06:00
|
|
|
{
|
|
|
|
'others': [],
|
|
|
|
'in_args': [],
|
|
|
|
'returned': [],
|
|
|
|
},
|
|
|
|
];
|