1
Fork 0

Update rustdoc-js* format

This commit is contained in:
Guillaume Gomez 2023-06-09 16:49:38 +02:00
parent 6b0c7c4f01
commit 9803651ee8
67 changed files with 236 additions and 400 deletions

View file

@ -1,33 +1,30 @@
// exact-check
const QUERY = [
"i32",
"str",
"primitive:str",
"struct:str",
"TotoIsSomewhere",
];
const EXPECTED = [
{
'query': 'i32',
'in_args': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
'query': 'str',
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
'query': 'primitive:str',
'returned': [
{ 'path': 'primitive', 'name': 'foo' },
],
},
{
'query': 'struct:str',
'returned': [],
},
{
'query': 'TotoIsSomewhere',
'others': [],
'in_args': [],
'returned': [],